AI OnAI Off
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?