Difference between revisions of "Update the Localisation Files"

From IMSMA Wiki
Jump to: navigation, search
Line 17: Line 17:
  
 
==trans.properties==__NOEDITSECTION__
 
==trans.properties==__NOEDITSECTION__
The third files contains Data Inventory categories, enumeration values, Custom Defined Fields' labels, etc. The file is [[Export and Translate the Terms|exported]] from File menu → Export → Translations. When the translation to desired language is finished, the file is [[Import the Translated Terms|imported]] into the database.
+
The third files contains Data Inventory categories, enumeration values, Custom Defined Fields' labels, etc. The file is ] from File menu → Export → Translations.  
 +
# check in Data Inventory Manager which is the code of the local language/variation (e.g. sv for Swedish)
 +
# [[Export and Translate the Terms|export] the English translations
 +
# rename the file (e.g. trans_sv)
 +
# '''update''' the first row in the file to the new language code
 +
# create translations with Rosetta-J
 +
# [[Import the Translated Terms|import]] the file into the database.  
  
 
{{NavBox HowTo Languages and Translations}}
 
{{NavBox HowTo Languages and Translations}}
  
 
[[Category:NAA]]
 
[[Category:NAA]]

Revision as of 09:07, 1 August 2016

Note.jpg To modify the localisation files, you should use Rosetta-J. Contact your GICHD IM advisor who will provide guidance. You may download Rosetta-J from this link.

The three files that are used for localisation need to be created for each new language. Each language has a unique language code. IMSMA is using the Window's codes. See which code should be used in the Data Inventory Manager.

  1. From the Customisation menu, select Data Inventory Manager.
  2. Click on the Translate button in the Data Category pane of the Data Inventory Manager window.
  3. Find the desired language in the Language list and note the code e.g. km for Khmer.
Note.jpg If you are running IMSMANG in a client/server installation and modify the properties files, you will need to copy this file to the C:\IMSMAng\client\resources\com\fgm\imsma\lexicon folder of each client computer.

IMessages.properties

The IMessage.properties file contains the error messages and warning messages used by IMSMANG. The file is located in the C:\IMSMAng\client\resources\com\fgm\imsma\lexicon folder.

ITerms.properties

The ITerms.Properties file contains terms used in menus, tooltips and field names in IMSMANG. The file is located in the C:\IMSMAng\client\resources\com\fgm\imsma\lexicon folder.

Warning.jpg There are two terms that should not be translated and affects how dates are written in IMSMANG, see more details here.

trans.properties

The third files contains Data Inventory categories, enumeration values, Custom Defined Fields' labels, etc. The file is ] from File menu → Export → Translations.

  1. check in Data Inventory Manager which is the code of the local language/variation (e.g. sv for Swedish)
  2. [[Export and Translate the Terms|export] the English translations
  3. rename the file (e.g. trans_sv)
  4. update the first row in the file to the new language code
  5. create translations with Rosetta-J
  6. import the file into the database.