Changes

Jump to: navigation, search

Update the Localisation Files

530 bytes added, 19:07, 18 August 2021
no edit summary
In order to support IMSMA languages other than English, several {{Warning | The two original files are provided to allow you to translate the messages IMessage.properties and terms used in IMSMAITerms.properties should '''not''' be edited. If you would like to run IMSMA in a language other than '''change the English, ''' terms and messages then you will need have to enter translations into create an '''English copy''' of the following files.properties Be very careful with Search and Replace function while editing the files:::*IMessages.Properties::*Iterms.Properties::*UIStringsThe KEY names (value on the left of the '''<nowiki>=</nowiki>''' sign) should '''not''' be replaced.Properties}}
{{Note | To modify the localisation files, you '''should''' use Rosetta-J. Contact your [[Information Management Team | GICHD IM advisor]] who will provide guidance. You may download Rosetta-J from this '''[http://mwiki.gichd.org/mediawiki/images/0/00/Rosetta_J.zip link]'''.}}
A copy of the The three files above is available that are used for localisation need to be created for each new language supported by IMSMA. The files specific to Each language has a unique language are suffixed with an identifier specific to the languagecode. For example, to translate IMSMA is using the ITermsWindow's codes.Properties file for Spanish, you See which code should modify be used in the ITerm_Es.Properties fileData Inventory Manager.
# In the '''Customisation''' menu &rarr; '''Data Inventory Manager'''.
# Click on the Translate button in the Data Category pane of the Data Inventory Manager window.
# Find the desired language in the Language list and note the code e.g. km for Khmer.
[[File:Supported Languages.png|440px{{Note|If you are running {{IMSMANG}} in a client/server installation and modify the properties files, you will need to copy of IMessage and ITerms files to the ''Table 55. Filename Suffixes for Supported LanguagesC:\IMSMAng\client\resources\com\fgm\imsma\lexicon'']] folder of each client computer. }}
==IMessages.properties==__NOEDITSECTION__The IMessage.properties file contains the error messages and warning messages used by {{note|To modify IMSMANG}}. The file is located in the ''C:\IMSMAng\client\resources\com\fgm\imsma\lexicon'' folder. # Copy the localisation files, it is recommended that you use Rosetta-Jexisting IMessage. For information on using Rosetta-J, refer properties to e.g. IMessage_km.properties or IMessage_en.properties for English.# Edit the IMessage.properties copy with Rosetta-J User Manual.}}
==IMessagesITerms.Propertiesproperties==__NOEDITSECTION__The IMessageITerms.Properties file contains the error messages, warning messagesterms used in menus, tooltips and tooltips used by IMSMAfield names in {{IMSMANG}}. The file is located in the <IMSMA Installation Directory>''C:\IMSMAng\client\resources\com\fgm\imsma\lexicon directory'' folder.# Copy the existing ITerms.properties to e.g. ITerms_km.properties or ITerms_en.properties for English.# Edit the ITerms.properties copy with Rosetta-J.
{{noteWarning | If you There are running IMSMA two terms that should '''not''' be translated and affects how dates are written in a networked environment and modify the IMessage.Properties file{{IMSMANG}}, you will need see [[Two Terms Not to copy this file to the <IMSMA Installation Directory>\client\resources\com\fgm\imsma\lexicon directory of each client computerbe Translated | '''more details here''']].}}
==ITermstrans.Propertiesproperties==__NOEDITSECTION__The ITermsthird files contains Data Inventory categories, enumeration values, Custom Defined Fields' labels, etc.Properties # '''[[Export the Translations|export]]''' the English translations# rename the file contains terms used by IMSMA field names(e.g. The trans_km)# '''update''' the first row in the file to the new language code# create translations with Rosetta-J# '''[[Import the Translations|import]]''' the file is located in into the <IMSMA Installation Directory>\client\resources\com\fgm\imsma\lexicon directorydatabase.
{{note| If you are running IMSMA in a networked environment NavBox HowTo Languages and modify the ITerms.Properties file, you will need to copy this file to the <IMSMA Installation Directory>\client\resources\com\fgm\imsma\lexicon directory of each client computer}} ==UIStrings.Properties==The UIStrings.Properties file contains the additional terms used by the IMSMA user interface. The file is located in the Location <IMSMA Installation Directory>\client\resources\com\fgm\util directory.  {{note| If you are running IMSMA in a networked environment and modify the UIStrings.Properties file, you will need to copy this file to the <IMSMA Installation Directory>\client\resources\com\fgm\util directory of each client computerTranslations}}
{{NavBox HowTo Languages and Translations}}[[Category:NAA]]
6,632
edits

Navigation menu