Difference between revisions of "Translate ICA-AtoM application"

From ICA-AtoM
Jump to navigation Jump to search
Line 37: Line 37:
 
**Download the Home page.rtf and open it. Follow the instruction in the file to translate the Qubit home page text, the ICA-Atom home page text and the Demo site home page text.
 
**Download the Home page.rtf and open it. Follow the instruction in the file to translate the Qubit home page text, the ICA-Atom home page text and the Demo site home page text.
 
**Download the Qubit XLIFF 1.2 file, entitled "messages.xml"
 
**Download the Qubit XLIFF 1.2 file, entitled "messages.xml"
***Once the file is open you need to locate the < trans-unit id="#" > tag and beneath it the < source > tag. The source language text will be shown in English and then a < target > tag will be where you will enter the translated text. In cases where a translation has already been contributed the < target > tag will be populated. For example:
+
***Once the file is open you need to locate the < trans-unit id="#" > tag and beneath it the < source > tag. The source language text will be shown in English and then a <target > tag will be 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">
+
        <trans-unit id="157">
 
         <source>Accessibility</source>
 
         <source>Accessibility</source>
 
         <target>Zugänglichkeit</target>
 
         <target>Zugänglichkeit</target>
 
         <note>/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php</note>
 
         <note>/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php</note>
      </trans-unit>
+
        </trans-unit>
  
  
 
In cases where a translation is needed the tag will be closed < /target >. For example:
 
In cases where a translation is needed the tag will be closed < /target >. For example:
  
<trans-unit="158">
+
        <trans-unit="158">
<source>Accession area</source>
+
        <source>Accession area</source>
<target/>
+
        <target/>
<note>/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php</note>
+
        <note>/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php</note>
</trans-unit>
+
        </trans-unit>
  
 
You will need to open the tag <target>, add translation and close the tag </target>. Then move onto the next unit for translation. Remember to save your file while you work.The <note> field indicates the template from which the translation text was extracted. You can view a copy of this template by adding the following address in front of the relative address in the <note> field: [[http://code.google.com/p/qubit-toolkit/source/browse/trunk]]
 
You will need to open the tag <target>, add translation and close the tag </target>. Then move onto the next unit for translation. Remember to save your file while you work.The <note> field indicates the template from which the translation text was extracted. You can view a copy of this template by adding the following address in front of the relative address in the <note> field: [[http://code.google.com/p/qubit-toolkit/source/browse/trunk]]
  
 
e.g. http://code.google.com/p/qubit-toolkit/source/browse/trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php
 
e.g. http://code.google.com/p/qubit-toolkit/source/browse/trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php

Revision as of 17:41, 14 September 2011

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.2 will support the following languages:

  • Arabic
  • Chinese
  • Dutch
  • Farsi
  • German
  • Greek
  • English
  • French
  • Icelandic
  • Italian
  • Korean
  • Portuguese
  • Slovenian
  • Spanish

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

  • Translators will work with the internal XML file that ICA-AtoM uses to look up translations (XLIFF: XML Localization Interchange File). Translators can open this file in any text editor (e.g., notepad) or XML editor of their choice. When completed, Translators will email the XLIFF file back to Artefactual for us to integrate into the ICA-AtoM 1.2 release. Our deadline for receipt of XLIFF files is October 15, 2011.
  • Contact the ICA-AtoM Community Manager and request the RTF and XLIFF file for your specific language.
  • Once you receive the files:
    • Download the Home page.rtf and open it. Follow the instruction in the file to translate the Qubit home page text, the ICA-Atom home page text and the Demo site home page text.
    • Download the Qubit XLIFF 1.2 file, entitled "messages.xml"
      • Once the file is open you need to locate the < trans-unit id="#" > tag and beneath it the < source > tag. The source language text will be shown in English and then a <target > tag will be 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">
Accessibility
       <target>Zugänglichkeit</target>
       <note>/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php</note>
       </trans-unit>


In cases where a translation is needed the tag will be closed < /target >. For example:

       <trans-unit="158">
Accession area
       <target/>
       <note>/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php</note>
       </trans-unit>

You will need to open the tag <target>, add translation and close the tag </target>. Then move onto the next unit for translation. Remember to save your file while you work.The <note> field indicates the template from which the translation text was extracted. You can view a copy of this template by adding the following address in front of the relative address in the <note> field: [[1]]

e.g. http://code.google.com/p/qubit-toolkit/source/browse/trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php