London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi,
When you use IContentLoader (or IContentRepository), you can use the overload which takes CultureInfo, like this:
T Get<T>(Guid contentGuid, CultureInfo language) where T : IContentData;
Hi Team,
I am facing issues in fetching the catalog metafield value with culturespecific.
I have a metafiled displayname in two languages "en-ca" and "fr-ca". But when I try to access the metafiled, it is always fetching me the "en-ca" text.
[CatalogContentType(DisplayName="Currency", MetaClassName="Currency", GUID="8BEBFA5C-BCC7-4351-B050-440E30C72F15")]
public class Currency : VariationContent
{
[Display(
Name = "Country Code",
Description = "",
GroupName = "Information",
Order = 1100)
[CultureSpecific]
public override string DisplayName
{
get;
set;
}
}
Let me know how to get french content.
Thanks in advance.
Thanks,
Manjeera T