Import the Translations: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
JMU (talk | contribs)
Created page with "<table cellspacing="5" cellpadding="0" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: 22em; margin: 0 0 1.0em 1.0em; padd..."
 
No edit summary
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table cellspacing="5" cellpadding="0" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: 22em; margin: 0 0 1.0em 1.0em; padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; background-color: #f5faff; font-size: 90%; width: auto; line-height: 1.6em; width:150px;;;" class="vertical-navbox nowraplinks">
{{Warning | Existing translations in the language that is being imported will be deleted}}
<th style="padding: 0.2em 0.4em 0.2em; font-size: 145%; line-height: 1.2em; font-weight: bold; background-color: #9aa8b5; font-size: 125%" class="">Related Topics</th>
<tr>
<td style="padding-top: 0.2em; font-weight: bold; background-color: #cee0f2" class="">Sample Table</td>
</tr>
<tr>
<td style="padding-bottom: 0.2em; text-align: left">
[[UIStrings.Properties]]<br />
[[HowTo:Translate CDFs and Custom Options Via a File | Translate CDFs and Custom Options Via a File]]<br />
[[Export and Translate the Terms]]<br />
[[Import the Translated Terms]]<br />
[[HowTo:Change the Langauge| Change the Language]]<br />


</td>
To import the  Data Inventory categories, enumeration values, Custom Defined Fields' labels, etc. from a file:
</tr>
<ol>
</table>
<li>In the '''File''' menu &rarr; '''Import''' &rarr;  '''Translations'''.</li>  
[[Image:Import translation1.png|375px|center]]<br/>
<li>Click the '''Browse''' button.</li>  


[[Category: Localisation]]
{{Note| The first row in the file need to specify the language code and the file type needs to be .properties e.g. trans_km.properties.}}
<li>From the Open window:</li>
<ol type="a">
<li>Navigate to the directory where the file is located.</li>
<li>Click the '''Open''' button.</li>
</ol>
<li>Click the '''Import''' button.</li>
[[Image:Import translation2.png|300px|center]]<br/>
<li>Click the '''Yes''' button.</li>
[[Image:Import translation3.png|375px|center]]<br/>
<li>Wait until the export is finished and click on the OK button.</li>
</ol>
 
{{NavBox HowTo Languages and Translations}}
 
[[Category:NAA]]

Latest revision as of 17:30, 15 June 2017

Existing translations in the language that is being imported will be deleted

To import the Data Inventory categories, enumeration values, Custom Defined Fields' labels, etc. from a file:

  1. In the File menu → ImportTranslations.

  2. Click the Browse button.
  3. The first row in the file need to specify the language code and the file type needs to be .properties e.g. trans_km.properties.
  4. From the Open window:
    1. Navigate to the directory where the file is located.
    2. Click the Open button.
  5. Click the Import button.

  6. Click the Yes button.

  7. Wait until the export is finished and click on the OK button.

{{#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:import the translations
|doc
|sandbox
|testcases =
|#default = {{#switch:hlist
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}