Difference between revisions of "Handling complex translation needs"

From ICA-AtoM
Jump to navigation Jump to search
Line 7: Line 7:
  
 
http://www.symfony-project.org/book/1_2/13-I18n-and-L10n#chapter_13_sub_handling_complex_translation_needs
 
http://www.symfony-project.org/book/1_2/13-I18n-and-L10n#chapter_13_sub_handling_complex_translation_needs
 
  
 
The table below enumerates in English the elements whose names include tokens and for each gives a brief explanation of the nature of the variable and the context in which it occurs.
 
The table below enumerates in English the elements whose names include tokens and for each gives a brief explanation of the nature of the variable and the context in which it occurs.
Line 36: Line 35:
 
Entity type
 
Entity type
 
</td><td>
 
</td><td>
Returns the type of [[Glossary#Entity|entity]] being viewed on the current page (e.g. [[Glossary#Archival description|archival description]]); appears as part of text on the [[Glossary#List all button|list all button]] on [[Glossary#Edit page|edit pages]].
+
Returns the type of [[Glossary#Entity|entity]] being viewed on the current page (e.g. [[Glossary#Archival description|archival description]]); appears as part of text on the list all button on [[Glossary#Edit page|edit pages]].
 
</td>
 
</td>
 
</tr><tr>
 
</tr><tr>
Line 52: Line 51:
 
Entity type
 
Entity type
 
</td><td>
 
</td><td>
Returns the type of [[Glossary#Entity|entity]] being viewed on the current page (e.g. [[Glossary#Archival description|archival institution]]); appears as part of the [[Glossary#Page title|page title]] on [[Glossary#List page|list pages]].
+
Returns the type of [[Glossary#Entity|entity]] being viewed on the current page (e.g. [[Glossary#Archival description|archival institution]]); appears as part of the [[Glossary#Page title|page title]] on list pages.
 
</td>
 
</td>
 
</tr><tr>
 
</tr><tr>

Revision as of 22:13, 15 June 2010

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 > User manual > UM-5 Translate content / interface > UM-5.3 Translate interface > UM-5.3.1 Translate template tokens


Some interface element names include template tokens

The names of some user interface elements include tokens which are variables whose value is determined dynamically by the context. Tokens are 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 information being handled in any given variable in any given context.

http://www.symfony-project.org/book/1_2/13-I18n-and-L10n#chapter_13_sub_handling_complex_translation_needs

The table below enumerates in English the elements whose names include tokens and for each gives a brief explanation of the nature of the variable and the context in which it occurs.

<thead> </thead><tbody> </tbody>

Element name

Variable

Context

%1% profile

User's account name

Returns the user's account name in the system menu; clicked by the user to edit his or her user profile; appears on all pages.

List all %1%

Entity type

Returns the type of entity being viewed on the current page (e.g. archival description); appears as part of text on the list all button on edit pages.

Edit %1%

Entity type

Returns the type of entity being viewed on the current page (e.g. authority record); appears as part of the Glossary#Page title on edit pages.

List %1%

Entity type

Returns the type of entity being viewed on the current page (e.g. archival institution); appears as part of the page title on list pages.

View %1%

Entity type

Returns the type of entity being viewed on the current page (e.g. archival description); appears as part of the page title on view pages.