Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Panel

This section assumes you have understood the relationship of Content, ContentAssociations and DataResources. Also, you should understand how a DataResource can be provided to the system.


Some OFBiz entities have built-in i18n options, the most prominent (Catalog, Product)and evident) are Catalog-Categories and Product. Check out how to translate Products or Categories Name and Descriptions, have a look at How to localize Product and Categories descriptions.

You can find out which entities provide this option when searching for "*Content" in the entitydef entitymodel.xml configuration files (which will then list out all occurences occurencies of a <entityname>Content entity). Search in the current trunk (rev 811440) resulted in the following Content-Entities:

  • applications / order --> OrderContent
  • applications / party --> PartyContent
  • applications / party --> CommunicationsEventContent
  • applications / product --> ProductCategoryContent
  • applications / product --> ProductConfigurationItemContent
  • applications / product --> ProductContent
  • applications / workeffort --> WorkEffortContent

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

Note that by default, the entityproductContent.description entries are also used as in HTML HEAD META in <HTML><HEAD>...<META type="keyword" ...> tags, so using this can help you with localized Search Engine Optimisation projects.
NOTE: When using i18n on these entities, the "direct" attributes must be empty, otherwise the CMS lookup will not occur.

MORE TO COME SOON (worked example)

...