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

Firas A. ofbiz at idigna.com
Wed Nov 9 14:00:09 EST 2005


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ofbiz.org/pipermail/users/attachments/20051109/fe95595a/attachment.htm


More information about the Users mailing list