Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
MetaDataContext MDContext = CatalogContext.MetaDataContext;
MDContext.UseCurrentUICulture = false;
//string
foreach (string language in Languages)
{
MDContext.Language = language;
MetaHelper.SetMetaFieldValue(metaobj)...
metaObj.AcceptChanges(MDContext);
}
MDContext.UseCurrentUICulture = true;
I am working on importing data into a catalog.
The catalog exists in multiple languages, and therefor I need to create meta data for the nodes/products in the available languages.
But the SetMetaFieldValue method does not take a language as a parameter. How do I go about this?