November Happy Hour will be moved to Thursday December 5th.

Multiple languages in metadata

Vote:
 

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?

#58275
Apr 17, 2012 10:06
Vote:
 

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;

#59213
May 24, 2012 18:46
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.