Difference between revisions of "Using non-translated languages"

From IMSMA Wiki
Jump to: navigation, search
Line 3: Line 3:
 
[[Image:wa_symptom.png|600px|center]]
 
[[Image:wa_symptom.png|600px|center]]
 
<div align="center">
 
<div align="center">
'' How the issue look like ''
+
'' How the issue looks like ''
 
</div>
 
</div>
 
When the user is e.g. filtering in Search the normal values Open, Worked on and Closed are not shown.
 
When the user is e.g. filtering in Search the normal values Open, Worked on and Closed are not shown.
 
<ol>
 
<ol>
<li>Start with looking up the language code need for the language in question.</li>
+
<li>Start with looking up the language code need for the language in question. If you do not know the code of the language in question, this is how you can access the list of language codes:</li>
 +
<ol>
 
<li>Got to Land in Data Inventory Manager. </li>
 
<li>Got to Land in Data Inventory Manager. </li>
 
<li>Open category Uncategorised. </li>
 
<li>Open category Uncategorised. </li>
 
<li>Select Status and click on Edit button. </li>
 
<li>Select Status and click on Edit button. </li>
 
<li>Click on Translate button.</li>
 
<li>Click on Translate button.</li>
 +
<li>The languages and their codes are shown in the drop-down list. The language code for Albanian is '''sq'''.</li>
 
[[Image:wa_lang_code.png|400px|center]]
 
[[Image:wa_lang_code.png|400px|center]]
 
<div align="center">
 
<div align="center">
'' Language code''
+
'' Language codes''
 
</div>
 
</div>
<li>The languages and their codes are shown in the drop-down list. The language code for Albanian is '''sq'''.</li>
+
</ol>
 +
<li>You now need to export the English translations and and tell IMSMA that when the Regional Settings are set to Albanian, those same translations should be used. Go to File menu, Export translations: </li>
 
[[Image:wa_export.png|200px|center]]
 
[[Image:wa_export.png|200px|center]]
 
<div align="center">
 
<div align="center">
 
''Export translations ''
 
''Export translations ''
 
</div>
 
</div>
<li>Got to File menu, Export translations. </li>
+
<li>Select English as the language to export. Specify file name and location: </li>
 
[[Image:wa_export2.png|400px|center]]
 
[[Image:wa_export2.png|400px|center]]
 
<div align="center">
 
<div align="center">
 
'' Choose English''
 
'' Choose English''
 
</div>
 
</div>
<li>Select language to export. Specify file name and location. </li>
+
<li>Open the file you have just exported. Change the language code (in this example to "sq") and save the file. </li>
 
[[Image:wa_edit_file.png|500px|center]]
 
[[Image:wa_edit_file.png|500px|center]]
 
<div align="center">
 
<div align="center">
 
'' Specify language''
 
'' Specify language''
 
</div>
 
</div>
<li>Open the file. Change the language code and save the file. </li>
+
<li>Got to File menu, Import translations. </li>
 
[[Image:wa_import.png|200px|center]]
 
[[Image:wa_import.png|200px|center]]
 
<div align="center">
 
<div align="center">
 
''Import translations ''
 
''Import translations ''
 
</div>
 
</div>
<li>Got to File menu, Import translations. </li>
+
<li>Select the file to import. </li>
 
[[Image:wa_import2.png|400px|center]]
 
[[Image:wa_import2.png|400px|center]]
 
<div align="center">
 
<div align="center">
 
'' Click on Import button''
 
'' Click on Import button''
 
</div>
 
</div>
<li>Select the file to import. </li>
+
</div>
 +
<li>Got Advanced search again and verify the end-result. </li>
 
[[Image:wa_end_result.png|400px|center]]
 
[[Image:wa_end_result.png|400px|center]]
 
<div align="center">
 
<div align="center">
 
'' Verify the end result''
 
'' Verify the end result''
</div>
+
<li>The English translations are not imported as Albanian into the database so all users with Albanian as Regional settings will now see the English values instead of the raw IMSMA values. </li>
<li>Got Advanced search again and verify the end-result. </li>
 
<li>The Albanian translations are imported into the database so all users with Albanian as Regional settings will now see the proper values. </li>
 
 
</ol>
 
</ol>
 
{{NavBox Technical Notes}}
 
{{NavBox Technical Notes}}
 
[[Category:NAA]]
 
[[Category:NAA]]

Revision as of 13:21, 8 May 2017

The Mine Action Programme is using IMSMANG in English but the Regional settings on some computers are not English. The users would like to have the settings to non-English due to other applications. The user interface of IMSMANG will in these cases be in English but options of single-select (enumeration values) will be shown in raw IMSMA English. In the description below Albanian is used as example.

Wa symptom.png

How the issue looks like

When the user is e.g. filtering in Search the normal values Open, Worked on and Closed are not shown.

  1. Start with looking up the language code need for the language in question. If you do not know the code of the language in question, this is how you can access the list of language codes:
    1. Got to Land in Data Inventory Manager.
    2. Open category Uncategorised.
    3. Select Status and click on Edit button.
    4. Click on Translate button.
    5. The languages and their codes are shown in the drop-down list. The language code for Albanian is sq.
    6. Wa lang code.png

      Language codes

  2. You now need to export the English translations and and tell IMSMA that when the Regional Settings are set to Albanian, those same translations should be used. Go to File menu, Export translations:
  3. Wa export.png

    Export translations

  4. Select English as the language to export. Specify file name and location:
  5. Wa export2.png

    Choose English

  6. Open the file you have just exported. Change the language code (in this example to "sq") and save the file.
  7. Wa edit file.png

    Specify language

  8. Got to File menu, Import translations.
  9. Wa import.png

    Import translations

  10. Select the file to import.
  11. Wa import2.png

    Click on Import button

    </div>

  12. Got Advanced search again and verify the end-result.
  13. Wa end result.png

    Verify the end result

  14. The English translations are not imported as Albanian into the database so all users with Albanian as Regional settings will now see the English values instead of the raw IMSMA values.
  15. </ol>