Difference between revisions of "Translate ICA-AtoM application"

From ICA-AtoM
Jump to navigation Jump to search
 
(121 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
[[Main Page]] > Translate ICA-AtoM application
 
[[Main Page]] > Translate ICA-AtoM application
  
ICA-AtoM is a multi-lingual application, meaning that users can switch the interface between different languages, as well as contribute translations of descriptions from the source language to another. This page is for project participants preparing the default translations of the interface that will ship with version 1.0. This version will support the following languages:
+
== Overview ==
 +
 
 +
ICA-AtoM is a multi-lingual application. This page is for project participants preparing the default translations of the application.
 +
 
 +
ICA-AtoM release 1.3 will support the following languages:
 +
 
 
*Dutch
 
*Dutch
 +
*Farsi
 +
*Galician
 +
*German
 
*English
 
*English
 
*French
 
*French
 +
*Georgian
 +
*Indonesian (Bahasa)
 
*Italian
 
*Italian
 +
*Japanese
 +
*Korean
 
*Portuguese
 
*Portuguese
 
*Slovenian
 
*Slovenian
 
*Spanish
 
*Spanish
 +
*Thai
  
Users of an ICA-AtoM application will still have the option to modify the default translations to suit their own purposes (described in [[User manual]] > [[Translate ICA-AtoM]]). The procedures on this page, however, are for the one-time translations that provide the defaults.
+
There are two broad classes of information that need to be translated into all of the supported languages:
 
 
== Log on as translator ==
 
 
 
 
 
{| border="0" cellpadding="2"
 
 
 
|- valign="top"
 
|width="600" |
 
 
 
1. Access the ICA-AtoM application at www.ica-atom.org/ ...
 
 
 
 
 
2. Click the <span class="button">LogIn</span> link on the <span class="menu">SystemMenu</span>.
 
 
 
 
 
3. Enter your user name and password.
 
 
 
 
 
4. The <span class="menu">MainMenuBar</span> now appears, including a <span class="button">Translate</span> tab.
 
 
 
 
 
5. Click the language for which you have translator access in the <span class="menu">LanguageMenu</span>.
 
 
 
 
 
6. Any user interface elements that have already been translated into the selected language switch to that language. The <span class="menu">TranlateBar</span> now appears along the bottom of the screen.
 
 
 
 
 
|width="500" align="right"|
 
 
 
insertScreenshot
 
 
 
|}
 
 
 
 
 
== Translator module ==
 
 
 
{| border="0" cellpadding="2"
 
 
 
|- valign="top"
 
|width="600" |
 
 
 
Translation involves the following steps:
 
 
 
*Go to a page that contains elements that need to be translated.
 
 
 
*Open the <span class="menu">TranslationPanel</span> by clicking the <span class="button">Translate</span> button on the <span class="menu">TranslateBar</span>.
 
 
 
*Input the translation.
 
 
 
*Save the translation and close the <span class="menu">TranslationPanel</span>.
 
 
 
*Repeat until all elements have been translated.
 
 
 
 
 
To help manage this process, ICA-AtoM includes a Translator module. This provides links to pages in the application that contain all the elements that need to be translated. To access the Translator module:
 
 
 
 
 
1. Click the <span class="button">Translate</span> tab on the <span class="menu">MainMenuBar</span>.
 
 
 
 
 
2. ICA-AtoM opens the module, organized by three sub-tabs.
 
 
 
 
 
3. The <span class="button">UserInterfaceTranslation</span> sub-tab provides links to pages containing elements with which the user will interact (e.g. field labels, buttons).
 
 
 
 
 
4. The <span class="button">Settings</span> sub-tab provides links to pages containing
 
  
 +
*'''User interface''': User interface elements include field labels, column headers, screen titles, buttons, links and pop-up dialog boxes. These are the generic template elements that structure how the application content is presented on the user interface.
  
5. The <span class="button">xx</span> sub-tab provides links to pages containing
+
*'''Default content''': Data that is included by default when the application is installed. This includes things like the default homepage content and picklist values that are stored in taxonomies such as ''level of description'' or ''note types''.
  
 +
Users of an ICA-AtoM application will still have the option to modify the default translations to suit their own purposes (as described in [[UM-5|UM-5 Translate content/interface]]). The procedures on this page, however, are for the one-time translations that provide the application defaults.
  
|width="500" align="right"|
+
== Translation Instructions ==
  
insertScreenshot
+
Thank you for helping us translate ICA-AtoM Release 1.3. The first step is to contact the [mailto:jessica@artefactual.com| ICA-AtoM Community Manager] and request the two translation files to be emailed directly to you.
  
|}
+
Attached to the email you receive from the ICA-AtoM Community Manager are two files:
 +
1) Home page text.rtf
 +
2) Atom-1.3RC1_xliff.zip
  
== Translate user interface ==
+
Open the file and replace the content with your translated text for each of the three sections:
 +
* Qubit home page text,
 +
* ICA-AtoM home page text, and
 +
* Demo site home page text
  
{| border="0" cellpadding="2"
+
2) Atom-1.3RC1 XLIFF zip file
  
|- valign="top"
+
Download the Atom-1.3RC1 zip file and extract the contents.
|width="600" |
 
  
 +
Once the zip file is extracted, you will find individual folders according to language (e.g. "de/" for German, and "es/" for Spanish). Please select the folder for your specific language and open the file "messages.xml".
  
|width="500" align="right"|
+
In the messages.xml file, each string for translation is wrapped in a &lt;trans-unit id="#"&gt; tag. Within each &lt;trans-unit&gt; tag is a &lt;source&gt; tag, containing the original, English string for translation.
  
insertScreenshot
+
After each &lt;source&gt; tag, there is a &lt;target&gt; tag where you will enter the translated text.
  
|}
+
In cases where a translation has already been contributed the &lt;target&gt; tag will be populated. For example:
  
 +
<pre>
 +
&lt;trans-unit id="157"&gt;
 +
    &lt;source&gt;Accessibility&lt;/source&gt;
 +
    &lt;target&gt;Zugänglichkeit&lt;/target&gt;
 +
    &lt;note&gt;http://code.google.com/p/qubit-toolkit/source/browse/trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php&lt;/note&gt;
 +
&lt;/trans-unit&gt;
 +
</pre>
  
== Translate settings ==
+
In cases where no translation has been done, you will see an empty &lt;target/&gt; tag. For example:
  
{| border="0" cellpadding="2"
+
<pre>
 +
&lt;trans-unit="158"&gt;
 +
    &lt;source&gt;Accession area&lt;/source&gt;
 +
    &lt;target/&gt;
 +
    &lt;note&gt;http://code.google.com/p/qubit-toolkit/source/browse/trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php&lt;/note&gt;
 +
&lt;/trans-unit&gt;
 +
</pre>
  
|- valign="top"
+
To add a new translation, replace the &lt;target/&gt; tag with &lt;target&gt;Your translated text&lt;/target&gt;.  The final result should look like the populated example above.  To replace an existing translation, simply replace the existing translated text.
|width="600" |
 
  
 +
Continue translating each unit of translation. Remember to save your file often while you work.
  
|width="500" align="right"|
+
The &lt;note&gt; field contains a link to the HTML template from which the translation text was extracted. You can view this template file by pasting the URL into your web browser, or some editors may allow you to click the link directly.
  
insertScreenshot
+
Translations must be submitted by August 6,2012!
  
|}
+
If you have any questions, please contact me.  We realize this is a short turnaround time, and encourage you to do the best you can.  If you are unable to do the translation work for any reason, please let us know as soon as possible so we can try to find a replacement translator.

Latest revision as of 12:06, 28 June 2012

Please note that ICA-AtoM is no longer actively supported by Artefactual Systems.
Visit https://www.accesstomemory.org for information about AtoM, the currently supported version.

Main Page > Translate ICA-AtoM application

Overview

ICA-AtoM is a multi-lingual application. This page is for project participants preparing the default translations of the application.

ICA-AtoM release 1.3 will support the following languages:

  • Dutch
  • Farsi
  • Galician
  • German
  • English
  • French
  • Georgian
  • Indonesian (Bahasa)
  • Italian
  • Japanese
  • Korean
  • Portuguese
  • Slovenian
  • Spanish
  • Thai

There are two broad classes of information that need to be translated into all of the supported languages:

  • User interface: User interface elements include field labels, column headers, screen titles, buttons, links and pop-up dialog boxes. These are the generic template elements that structure how the application content is presented on the user interface.
  • Default content: Data that is included by default when the application is installed. This includes things like the default homepage content and picklist values that are stored in taxonomies such as level of description or note types.

Users of an ICA-AtoM application will still have the option to modify the default translations to suit their own purposes (as described in UM-5 Translate content/interface). The procedures on this page, however, are for the one-time translations that provide the application defaults.

Translation Instructions

Thank you for helping us translate ICA-AtoM Release 1.3. The first step is to contact the ICA-AtoM Community Manager and request the two translation files to be emailed directly to you.

Attached to the email you receive from the ICA-AtoM Community Manager are two files: 1) Home page text.rtf 2) Atom-1.3RC1_xliff.zip

Open the file and replace the content with your translated text for each of the three sections:

  • Qubit home page text,
  • ICA-AtoM home page text, and
  • Demo site home page text

2) Atom-1.3RC1 XLIFF zip file

Download the Atom-1.3RC1 zip file and extract the contents.

Once the zip file is extracted, you will find individual folders according to language (e.g. "de/" for German, and "es/" for Spanish). Please select the folder for your specific language and open the file "messages.xml".

In the messages.xml file, each string for translation is wrapped in a <trans-unit id="#"> tag. Within each <trans-unit> tag is a <source> tag, containing the original, English string for translation.

After each <source> tag, there is a <target> tag where you will enter the translated text.

In cases where a translation has already been contributed the <target> tag will be populated. For example:

<trans-unit id="157">
    <source>Accessibility</source>
    <target>Zugänglichkeit</target>
    <note>http://code.google.com/p/qubit-toolkit/source/browse/trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php</note>
</trans-unit>

In cases where no translation has been done, you will see an empty <target/> tag. For example:

<trans-unit="158">
    <source>Accession area</source>
    <target/>
    <note>http://code.google.com/p/qubit-toolkit/source/browse/trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php</note>
</trans-unit>

To add a new translation, replace the <target/> tag with <target>Your translated text</target>. The final result should look like the populated example above. To replace an existing translation, simply replace the existing translated text.

Continue translating each unit of translation. Remember to save your file often while you work.

The <note> field contains a link to the HTML template from which the translation text was extracted. You can view this template file by pasting the URL into your web browser, or some editors may allow you to click the link directly.

Translations must be submitted by August 6,2012!

If you have any questions, please contact me. We realize this is a short turnaround time, and encourage you to do the best you can. If you are unable to do the translation work for any reason, please let us know as soon as possible so we can try to find a replacement translator.