Skip to Content
0
Former Member
Jan 19, 2017 at 09:13 AM

How can we localize classification Attribute Values?

190 Views

Hi Team,

I am trying to localize classification attribute for both key and values. I am able to do it for the key, but not able to do it for values.

here is one example of the actual requirement:

English values :
Features : Hand Crafted, Hand Painted Secondary Material : Acrylic

I want this in XYZ language and the expected value should be :

Features Arabic : Hand Crafted, Hand Painted in Arabic lang Secondary Material Arabic : Acrylic in Arabic lang

The header for changing the Attribute key is:

For English :

INSERT_UPDATE ClassificationAttribute;code[unique=true];name[lang=en];defaultAttributeValues(code,$classificationSysVer);$classificationSysVer[virtual=true,unique=true] ;features;Features;

For Arabic : INSERT_UPDATE ClassificationAttribute;code[unique=true];name[lang=ar];defaultAttributeValues(code,$classificationSysVer);$classificationSysVer[virtual=true,unique=true] ;features;Features In Arabic Lang;

The above code works fine for key localization. But I am not getting any clue to do same for Value mapping.

Any help would be really appreciated.

Thanks, Kesari