In a world where companies operate globally, many business applications require multi-language capabilities to support users in many countries. PermeAgility supports multiple languages by allowing the user can select the language of their choice by clicking on the language selector at the bottom of the menu.
If you click on a language, the interface will display message in the selected language. Here is what the table manager looks like when italian (it locale) is selected.
The same screen in Hindi (hi locale)
The English text was translated using the mymemory.translated.net service and is actually fairly good.
Languages in the system are configured in the locale and message tables.
The translate plus module is built into the current release. To enable it, install the module using the Context page.
It can translate from any language to any other language - start by picking the language you want to translate from, then pick what you want translated.
Here is an example screenshot of the translation tool setup to create a French translation. Once the translation is complete, you can change the text of each message in the message table.
This tool can translate:
All system messages or text retrieved using Message.get(Locale locale,String name)
Menu names - using message called MENU_<menuname>
Menu Item names - using message called MENUITEM_<menuitemname>
Menu Item descriptions - using message called MENUITEMDESC_<menuitemname>
Table Group names - using message called TABLEGROUP_<tablegroupname>
Table names - using message called TABLE_<tablename>
Column names - using message called COLUMN_<tablename>.<columnname> Note: All same column names will have the same translated names
News - will copy news articles from one locale to another, Can create duplicates so you may want to check for duplicates after translation
You can extend it to translate other things specific to your application. The whole Translate class is less than 400 lines long and each translation section is only about 20 lines of code.
Be sure to supply your email or you will be cut off and you will get error messages for messages. (Please don't use my email :-)
Check replace to overwrite any existing messages in the target locale. Leave unchecked for a new locale or only updating a few messages or table names.
Note: You must activate the new locale before you can select the new language. Just open the locale record and click the activate checkbox and update the record.