Difference between revisions of "Language Issues"
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | As described in [[Change the Language | How does IMSMA know which language to use?]] it is the Regional settings on your computer in combination with the language files in the C:\IMSMAng\client\resources\com\fgm\imsma\lexicon folder which determine which language {{IMSMANG}} will use. | + | {{TOC right}} |
+ | As described in '''[[Change the Language | How does IMSMA know which language to use?]]''' it is the Regional settings on your computer in combination with the language files in the ''C:\IMSMAng\client\resources\com\fgm\imsma\lexicon'' folder which determine which language {{IMSMANG}} will use. | ||
− | + | The best database field to use for checking if the translations are complete for a language is ''Status'' in Land in the Data Inventory Manager category ''Uncategorised''. | |
− | ==Case {{IMSMANG}} does not have all files for the language OR the translations have not been imported to the database==__NOEDITSECTION__ | + | ==Case - {{IMSMANG}} has all files for the language==__NOEDITSECTION__ |
− | In this | + | In this example, the regional settings is set to French (France) and the menus etc. are in French and the enumeration values have translations. |
+ | [[Image:French w trans.png|500px|center]] | ||
+ | <div align="center"> | ||
+ | '' The French translation of enumeration values have been imported into the database '' | ||
+ | </div> | ||
+ | ==Case - {{IMSMANG}} does not have all files for the language OR the translations have not been imported to the database==__NOEDITSECTION__ | ||
+ | In this example, the regional settings is set to Spanish (Colombia) and the menus etc. are in Spanish but the enumeration values do not have translations OR the regional settings is set to French (France) and the menus etc. are in French but the enumeration values do not have translations. | ||
− | + | <center> | |
+ | {| class="wikitable" | ||
+ | |- | ||
+ | | [[Image:Spanish wo trans.png|500px]] | ||
+ | <div align="center"> | ||
+ | '' The Spanish translation of enumeration values have not been created '' | ||
+ | | width="10pt" | | ||
+ | | [[Image:French wo trans.png|500px]] | ||
+ | <div align="center"> | ||
+ | '' The French translation of enumeration values have NOT been imported into the database '' | ||
+ | </div> | ||
+ | </div> | ||
+ | |} | ||
+ | </center> | ||
+ | See '''[[Update the Localisation Files#trans.properties | this page]]''' how to create translation for enumeration values. | ||
+ | See '''[[Import the Translations | this page]]''' how to import translations for enumeration values. | ||
+ | ==Case - {{IMSMANG}} does not have files for the language==__NOEDITSECTION__ | ||
+ | If the regional settings is set to e.g. Swedish then {{IMSMANG}} will use the English ''IMessages.properties'' and the English ''ITerms.properties'' but there are no translations stored in the database for Swedish so enumeration values will not have any translations as in the case above. | ||
− | = | + | [[Image:Swedish wo translation.png|500px|center]] |
− | + | <div align="center"> | |
− | + | '' There are no Swedish translation of enumeration values in the database '' | |
+ | </div> | ||
− | + | If there are no plans to translate {{IMSMANG}} to the local language then it is recommended to | |
− | + | # check in Data Inventory Manager which is the code of the local language (e.g. ''sv'' for Swedish) | |
− | + | # '''[[Export the Translations|export]]''' the English translations | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | If there are no plans to translate {{IMSMANG}} to the local language | ||
− | |||
− | # check in Data Inventory Manager which is the code of the local language | ||
# rename the file (e.g. trans_sv) | # rename the file (e.g. trans_sv) | ||
# '''update''' the first row in the file to the new language code | # '''update''' the first row in the file to the new language code | ||
− | # [[Import the | + | # '''[[Import the Translations|import]]''' the file as the local language. |
+ | |||
+ | ==Case - {{IMSMANG}} have files for the language but you do not want to use them==__NOEDITSECTION__ | ||
+ | If you prefer to use {{IMSMANG}} in English but would like to have the regional settings set to a language that {{IMSMANG}} have language files for then the easiest work-around is to rename the two language files in ''C:\IMSMAng\client\resources\com\fgm\imsma\lexicon'' e.g. ''ITerms_fr.properties'' to ''ITerms_frxx.properties''. You will get the enumeration values in the local language since they are imported into the database and your regional settings is set to French. | ||
− | + | [[Image:Language mix.png|500px|center]] | |
+ | <div align="center"> | ||
+ | '' The menus etc. are in English but the translation of enumeration values are in the local language '' | ||
+ | </div> | ||
{{NavBox Technical Notes}} | {{NavBox Technical Notes}} | ||
[[Category:NAA]] | [[Category:NAA]] |
Latest revision as of 14:12, 17 August 2016
Contents |
As described in How does IMSMA know which language to use? it is the Regional settings on your computer in combination with the language files in the C:\IMSMAng\client\resources\com\fgm\imsma\lexicon folder which determine which language IMSMANG will use.
The best database field to use for checking if the translations are complete for a language is Status in Land in the Data Inventory Manager category Uncategorised.
Case - IMSMANG has all files for the language
In this example, the regional settings is set to French (France) and the menus etc. are in French and the enumeration values have translations.
The French translation of enumeration values have been imported into the database
Case - IMSMANG does not have all files for the language OR the translations have not been imported to the database
In this example, the regional settings is set to Spanish (Colombia) and the menus etc. are in Spanish but the enumeration values do not have translations OR the regional settings is set to French (France) and the menus etc. are in French but the enumeration values do not have translations.
The Spanish translation of enumeration values have not been created |
The French translation of enumeration values have NOT been imported into the database |
See this page how to create translation for enumeration values. See this page how to import translations for enumeration values.
Case - IMSMANG does not have files for the language
If the regional settings is set to e.g. Swedish then IMSMANG will use the English IMessages.properties and the English ITerms.properties but there are no translations stored in the database for Swedish so enumeration values will not have any translations as in the case above.
There are no Swedish translation of enumeration values in the database
If there are no plans to translate IMSMANG to the local language then it is recommended to
- check in Data Inventory Manager which is the code of the local language (e.g. sv for Swedish)
- export the English translations
- rename the file (e.g. trans_sv)
- update the first row in the file to the new language code
- import the file as the local language.
Case - IMSMANG have files for the language but you do not want to use them
If you prefer to use IMSMANG in English but would like to have the regional settings set to a language that IMSMANG have language files for then the easiest work-around is to rename the two language files in C:\IMSMAng\client\resources\com\fgm\imsma\lexicon e.g. ITerms_fr.properties to ITerms_frxx.properties. You will get the enumeration values in the local language since they are imported into the database and your regional settings is set to French.
The menus etc. are in English but the translation of enumeration values are in the local language