|
|
How can I prepare a translation of the ART application?
- Get the latest english version: Download the latest ART package, unzip it and unzip the art.war archive. Get the ArtMessages.properties text file from the WEB-INF\classes\art\i18n directory and open it with your preferred editor
- Change all the text after the = signs to your language
- Save the file with the name ArtMessages_xx.properties, where xx is the ISO Language Code for your language (lowercase, two-letter code) e.g. ArtMessages_pt.properties for Portuguese.
If your language uses a non ISO-8859 charset (e.g. chinese, arabic, russian etc) make sure to save the text in UTF-8 encoding, and name the file ArtMessages_xx-UTF8.properties. Next, decode it to an ISO-8859 charset with UTF-8 escapes. You can use the native2ascii tool that is available with your Java installation:
native2ascii ArtMessages_xx-UTF8.properties ArtMessages_xx.properties
If your language is written differently in different countries, add the ISO Country Code for your country (uppercase, two-letter code) e.g. ArtMessages_pt_BR.properties for Brazilian Portuguese.
Last but not least: Create a post on the forum and add your file as an attachment. It will then be included in the next ART release.
How can I test if my translation looks good?
- Place your ArtMessages_xx.properties file in the ART web application on your application server (in the same location where the ArtMessages.properties file is)
- Make sure your browser has the default language set to xx
- Run ART and confirm that the user interface is displayed in your language
|
|