Difference between revisions of "Translate ICA-AtoM application"
Line 13: | Line 13: | ||
− | There are two broad classes of information that need to be translated into all supported | + | There are two broad classes of information that need to be translated into all supported languages: |
*'''User interface''': the elements that structure how the content of the system is presented and enable the user to interact with that content. User interface elements include field labels, column headers, screen titles, buttons, links and pop-up dialog boxes. | *'''User interface''': the elements that structure how the content of the system is presented and enable the user to interact with that content. User interface elements include field labels, column headers, screen titles, buttons, links and pop-up dialog boxes. | ||
Line 23: | Line 23: | ||
− | == Log | + | == Log in as translator == |
{| border="0" cellpadding="2" | {| border="0" cellpadding="2" | ||
Line 45: | Line 45: | ||
− | 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. | + | 6. Any user interface elements and database content 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"| | |width="500" align="right"| | ||
Line 61: | Line 61: | ||
|width="600" | | |width="600" | | ||
− | ICA-AtoM's <span | + | ICA-AtoM's <span calss="entity">Internationalization module</span> facilitates the translation process by organizing the elements requiring translation and providing translators with a central place from which to translate them. To access the Internationalization module: |
Line 69: | Line 69: | ||
2. ICA-AtoM opens the Internationalization module, organized by three sub-tabs. | 2. ICA-AtoM opens the Internationalization module, organized by three sub-tabs. | ||
− | * The <span class="button">UserInterface</span> sub-tab provides links to | + | * The <span class="button">UserInterface</span> sub-tab provides links to pages in the application that contain all the user interface elements that need translation. Links / pages are organized by module; modules correspond to sub-tabs on the <span class="menu">AddEdit</span> and <span class="menu">Admin</span> tabs of the <span class="menu">MainMenuBar</span>. |
− | *The <span class="button">DefaultContent</span> sub-tab provides | + | *The <span class="button">DefaultContent</span> sub-tab provides all default content that needs to be translated. |
− | *The <span class="button">NewContent</span> sub-tab is not currently operational and is included in the current version of ICA-AtoM (v0.6) | + | *The <span class="button">NewContent</span> sub-tab is not currently operational and is included in the current version of ICA-AtoM (v0.6) as a place-holder. It is intended to support the management of translation of all new content in an ICA-AtoM application, listing all pages that contain newly added or revised content requiring translation (e.g. new archival descriptions, revised authority records). |
Line 90: | Line 90: | ||
|width="600" | | |width="600" | | ||
− | 1. | + | 1. Make sure you have selected in the <span class="menu">LanguageMenuBar</span> the language into which you are translating. |
− | 2. Click | + | 2. Click the <span class="button">Translate > UserInterface</span> sub-tab to open a list of links to pages that contain all the user interface elements requiring translation. |
− | 3. | + | 3. Click one of the links. ICA-AtoM routes you to the target page; the <span class="menu">TranslationBar</span> appears along the bottom of the screen. |
− | 4. ICA-AtoM opens the <span class="menu">TranslationPanel</span> in the lower frame of your screen. The panel is organized into three columns: | + | 4. Click the <span class="button">TranslateUserInterface</span> button on the <span class="menu">TranslationBar</span>. |
+ | |||
+ | |||
+ | 5. ICA-AtoM opens the <span class="menu">TranslationPanel</span> in the lower frame of your screen. The panel is organized into three columns: | ||
*Column 1 ("Page text") lists all elements for translation; '''all elements shaded with a yellow background have not yet been translated'''; elements with no shading (white background) have already been translated and appear in the list under their translated name. | *Column 1 ("Page text") lists all elements for translation; '''all elements shaded with a yellow background have not yet been translated'''; elements with no shading (white background) have already been translated and appear in the list under their translated name. | ||
Line 108: | Line 111: | ||
− | + | 6. Select an element for translation; ICA-AtoM bolds the selected element. | |
− | + | 7. Add / edit the translation in column 3. | |
− | + | 8. Note that some element names include a number enclosed by percent sign (e.g. "%1%", "%2%"). This is a Symfony "token" indicating a variable whose value is dynamically generated by context. The token must be included in the translation. See below, [[#Symfony tokens | Symfony tokens]], for an enumeration of elements that include tokens and how to handle them. | |
− | + | 9. When translation is complete, click or tab out of column 3; the element will now appear in column 1 unshaded. | |
− | + | 10. Continue until all elements on the page have been translated. | |
− | + | 11. Click the <span class="button">SaveTranslation</span> button; ICA-AtoM closes the <span class="menu">TranslationPanel</span>. All interface elements on the screen will now appear in their translations. | |
− | + | 12. Return to the <span class="button">Translate > User interface</span> tab and repeat for all links on this screen. | |
|width="500" align="right"| | |width="500" align="right"| | ||
Line 137: | Line 140: | ||
=== Symfony tokens === | === Symfony tokens === | ||
− | Some user interface element names include "tokens". A token | + | Some user interface element names include "tokens". |
+ | |||
+ | *A token is a variable whose value is determined by dynamically by the context. | ||
+ | |||
+ | *In ICA-AtoM's Symfony framework, a token is represented by a number enclosed in percent signs (e.g. "%1%"). | ||
+ | |||
+ | *Tokens must be included in the translation, but because different languages have different grammar rules, translators need to be aware of the type of data being handled in any given variable in any given context. | ||
+ | |||
+ | |||
+ | The following list enumerates in English the elements whose name includes a tokens, the nature of the variable and the context in which it occurs. | ||
+ | |||
{| border="1" cellpadding="2" | {| border="1" cellpadding="2" | ||
Line 196: | Line 209: | ||
*Taxonomies: names of controlled vocabularies that generate drop-down value lists throughout the system (e.g. "Levels of description"); these are stored in the <span class="entity">Taxonomy</span> table. | *Taxonomies: names of controlled vocabularies that generate drop-down value lists throughout the system (e.g. "Levels of description"); these are stored in the <span class="entity">Taxonomy</span> table. | ||
− | *Terms: the values that make up the taxonomies (.e.g. in the "Level of description" taxonomy: "Fonds", "Sub-fonds", "Series", "Sub-series", "File", "Item"); stored in the <span class="entity">Term</span> table. | + | *Terms: the values that make up the taxonomies (.e.g. in the "Level of description" taxonomy: "Fonds", "Sub-fonds", "Series", "Sub-series", "File", "Item"); these are stored in the <span class="entity">Term</span> table. |
Revision as of 14:53, 10 March 2008
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 that will ship with version 1.0. ICA-AtoM 1.0 will support the following languages:
- Dutch
- English
- French
- Italian
- Portuguese
- Slovenian
- Spanish
There are two broad classes of information that need to be translated into all supported languages:
- User interface: the elements that structure how the content of the system is presented and enable the user to interact with that content. User interface elements include field labels, column headers, screen titles, buttons, links and pop-up dialog boxes.
- Default content: data stored in the database itself that ships with the application: static pages and controlled vocabularies.
Users of an ICA-AtoM application will still have the option to modify the default translations to suit their own purposes (as described in User manual > Translate ICA-AtoM). The procedures on this page, however, are for the one-time translations that provide the defaults.
Log in as translator
1. Access the ICA-AtoM application at www.ica-atom.org/ ...
|
insertScreenshot |
Access the internationalization module
ICA-AtoM's Internationalization module facilitates the translation process by organizing the elements requiring translation and providing translators with a central place from which to translate them. To access the Internationalization module:
|
insertScreenshot |
Translate user interface
1. Make sure you have selected in the the language into which you are translating.
|
insertScreenshot |
Symfony tokens
Some user interface element names include "tokens".
- A token is a variable whose value is determined by dynamically by the context.
- In ICA-AtoM's Symfony framework, a token is represented by a number enclosed in percent signs (e.g. "%1%").
- Tokens must be included in the translation, but because different languages have different grammar rules, translators need to be aware of the type of data being handled in any given variable in any given context.
The following list enumerates in English the elements whose name includes a tokens, the nature of the variable and the context in which it occurs.
Element name | Variable | Context |
---|---|---|
%1% profile | User's account name | Represents the link in the | the user clicks to edit his or her user profile.
add new %1% term | xx | List taxonomy screen. |
add/edit %1% term | xx | xx |
list only %1% term | xx | xx |
Translate default content
"Default content" refers to data that is stored in the database but has been entered by the developers to ship with ICA-AtoM so that users can begin using an ICA-AtoM application "out of the box".
|
insertScreenshot |