[OFBiz] Users - Help with i18n for Entity Engine values

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - Help with i18n for Entity Engine values

Firas A.-2
Hello,
 
I'm trying to localize values for some entities as suggested in ofbizwiki but wihout any success. A couple of questions:
 
1. Does it matter where the localized resource file, specified by default-resource-name, reside?
2. Should Freemarker interpolations be adjusted in any way?
 
Here are the settings I use:
  • In /applications/product/entitydef/entitymodel.xml
    • <entity entity-name="ProductFeatureType" package-name="org.ofbiz.product.feature" default-resource-name="Entityi18n" ...
  • created file /applications/product/config/Entityi18n_sv.properties, containing:
    • ProductFeatureType.description.SIZE=Storlek
  • In a freemarker template I have this call: ${productFeature.description}
  • In ecommerce switched the locale to sv_SE (Swedish-Sweden)
 
Thanks!
 
</Firas>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users