Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Note that this document focusses on the CONFIGURATION of OFBiz Entities in order to display Text in a different Locale and possibly pay attention to different Legislation & Taxing in other Locales. This document does NOT aim to talk about technical localisation (Tech Folks, make sure you start at Adrian's Internationalization) or adding more local payment or shipping gateways, as t his is considered regular customisation.

...

Also refer to Tips for UI labels translation.

Info

Some POS labels are handled by XUI not OFBIz. You can use a plugin like RBE to edit those XuiLabels.properties

Location of config files

located in the configuration subdirectories as follows:OFBIZ_HOME/applications/<appname>/config

...

Interested to understand how you make references to the i18n labels in code? Then read this: Text Translation.

Translation of OFBiz assets with built-in i18n options

...

Most typically, the entity.name, entity.description and entity.longdescription attributes can be internationalized. A table listing the i18n options of respective entity attributes will be worked in here soon.

Note
titleBe Careful

When using i18n on these entities, the "direct" attributes must be empty, otherwise the CMS lookup will not occur.

...

Info
titleHTML META tags for default Product-pages

The content of HTML Meta tags on product pages are handled in

Code Block
applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/Product.groovy

The following content will be handled as i18n content, i.e. locale/fallback locale applies in <HTML><HEAD>...<META type="keyword" ...> tags:

  • product.name (content items mapped as "PRODUCT_NAME" type)
  • catalog.name (not i18n)
  • productCategory.description (content items mapped as "DESCRIPTION" to all categories that this product is a member of)

The following content will be handled as i18n content, i.e. locale/fallback locale applies in <HTML><HEAD>...<META type="description" ...> tags:

  • product.description (content items mapped as "DESCRIPTION" type)

Using this will help you with localized SEO (=Search Engine Optimisation) projects.

...

Translation of Text Elements using the CMS

...