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