Export the Translations: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
To export the Data Inventory categories, enumeration values, Custom Defined Fields' labels, etc. to a file:
{{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]'''.}}
 
The translations of the Data Inventory categories, enumeration values, Custom Defined Fields' labels, etc. are stored in the database and it is possible to export them to a file.
<ol>
<ol>
<li>From the File menu, select the '''Export''' menu option.</li>
<li>In the File menu &rarr; '''Export''' &rarr; '''Translations'''</li>  
<li>From the '''Export''' menu, select the '''Translations''' menu option.</li>  
[[Image:Export translation1.png|400px|center]]<br/>
:The Export Translated Terms window displays.
<li>Click on the Browse button:</li>  
<li>Click on the Browse button:</li>  
<ol type="a">
<ol type="a">
Line 13: Line 14:
<li>Select the language that you would like to export from the Language list.</li>
<li>Select the language that you would like to export from the Language list.</li>
<li>Click the '''Export''' button.</li>  
<li>Click the '''Export''' button.</li>  
[[Image:Export translation2.png|250px|center]]<br/>
<li>Wait until the export is finished and click on the '''OK''' button.</li>  
<li>Wait until the export is finished and click on the '''OK''' button.</li>  
<li>Click the '''Cancel''' button to close the window.</li>  
<li>Click the '''Cancel''' button to close the window.</li>  
<li>Using Rosetta-J, translate the terms in the file for your language. For information on using Rosetta-J, contact your [[Information Management Team | GICHD IM advisor]].</li>
</ol>
</ol>


{{note | When you want to create a file for a new language it is recommended to export English. }}
{{note | When you want to create a file for a new language it is recommended to export English.}}


{{NavBox HowTo Languages and Translations}}
{{NavBox HowTo Languages and Translations}}


[[Category:NAA]]
[[Category:NAA]]

Latest revision as of 17:03, 15 June 2017

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 translations of the Data Inventory categories, enumeration values, Custom Defined Fields' labels, etc. are stored in the database and it is possible to export them to a file.

  1. In the File menu → ExportTranslations

  2. Click on the Browse button:
    1. Navigate to the directory where you would like to save the file.
    2. Click the Open button.
  3. Enter a name for the file in the Name field.
  4. The file name will be what you enter in the name field, plus the language code, and end with .properties. For example, if you enter "exportfile" in the Name field, and select English(en) from the Language list, the exported file name will be exportfile_en.properties.
  5. Select the language that you would like to export from the Language list.
  6. Click the Export button.

  7. Wait until the export is finished and click on the OK button.
  8. Click the Cancel button to close the window.
When you want to create a file for a new language it is recommended to export English.

{{#switch:|subgroup|child=|none=|#default=

{{#if:|<th scope="col" style="border-left:2px solid #fdfdfd;width:100%;|}}{{#if:|{{#if:Customising IMSMANG|}}}}{{#if:Change the Language · Update the Localisation Files · Item Customisation · Export the Translations · Import the Translations · Using non-translated languages|{{#if:Customising IMSMANG|}}{{#if:|}}{{#if:Language and Translations|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|{{#if:|}}}}{{#if:|{{#if:Customising IMSMANGChange the Language · Update the Localisation Files · Item Customisation · Export the Translations · Import the Translations · Using non-translated languages|}}{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:Customising IMSMANGChange the Language · Update the Localisation Files · Item Customisation · Export the Translations · Import the Translations · Using non-translated languages|}}{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:|<td style="text-align:left;border-left-width:2px;border-left-style:solid;|}}{{#if:|{{#if:Customising IMSMANGChange the Language · Update the Localisation Files · Item Customisation · Export the Translations · Import the Translations · Using non-translated languages|}}}}

{{#switch:|subgroup|child=

|none=|#default=}}{{#ifeq:|Template|{{#ifeq:|child||{{#ifeq:|subgroup||{{#switch:export the translations
|doc
|sandbox
|testcases =
|#default = {{#switch:hlist
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}