Most Powerful Open Source ERP

Guideline Use Localizer For ModuleTitle Translation

Module titles are part of user interface.
  • Last Update:2019-07-15
  • Version:001
  • Language:en

Use Localizer For Module Title Translation

Make sure you understand the difference between Module Portal Type and Document Portal Type


Modules portal type titles are part of the UI and shall be translated with erp5_ui. The getTranslatedTitle method will use Localizer's erp5_ui catalog to translate the title of the module document when displayed in the page templates.

Document portal type titles usually do not have to be translated. Sometimes in a multilingual environment you may want to translate document's title, in that case you should use erp5_content. Keep in mind that this may add lots of messages in you Message catalog, and cause database size problems.