Localization
In AMT-COBOL it is possible to change the language of messages and texts used in AMT-COBOL to your local language based on your browser preference.
Within the product, Avanade uses English as the default language, but we can imagine that you wish to switch this to your own local language.
For the Control Center and the Application Center you can find localization files which allow you to translate the standard English messages into any local language with the help of a simple xml file.
The following files are available:
Environment Component: | Localization file: | File location: |
Control Center and general messages |
AmtLocalisation.xml |
rootfolder of your environment |
Application Center |
AmtApplicationCenterLocalization.xml |
AmtTools\ApplicationCenter folder |
These files can be opened and edited with a plain text editor like NotePad.
Editing the localization files
If you open the AmtLocalisation.xml file you will find further explanation on how to use this
functionality at the top of the file, inside the <remarks> section.
In the files you will find the default
language, namely English, starting with <language name=”English”> this sections ends with the closing tags
"</language>".
After that you can put any other language in by using new opening tags <language name=”AnyOtherLanguage”>. In between these tags you can then enter the message in your language.
Each message tag consists of a message id and a value, as shown in this example:
Example from AmtLocalisation.xml: <msg id="17001" value="Message" />
The language used in your environment is then decided by the local language of the browser. If the browser default language is set to Spanish, the localization file will be checked for the Spanish language, if not found it will use the default English language.
Please note that different browsers have different methods of reporting the used language. For example Dutch can be reported as "Dutch", "nl" or "nl-NL". |