A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
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