Difference between revisions of "Handling complex translation needs"
Line 6: | Line 6: | ||
− | The names of some [[ | + | The names of some [[User interface|user interface]] elements include template tokens. |
Line 43: | Line 43: | ||
| | | | ||
− | Returns user's [[User name|account name]] in the [[System menu|system menu]] | + | Returns user's [[User name|account name]] in the [[System menu|system menu]]; clicked by the user to edit his or her [[User profile|user profile]]; appears on all screens. |
|-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(255, 243, 243);" | |-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(255, 243, 243);" | ||
Line 53: | Line 53: | ||
| | | | ||
− | Returns the type of [[Entity|entity]] being viewed on the current screen (e.g. [[Archival description|archival description]]); appears as part of text on the [[List all button| | + | Returns the type of [[Entity|entity]] being viewed on the current screen (e.g. [[Archival description|archival description]]); appears as part of text on the [[List all button|list all button]] on [[Edit screen|edit screens]]. |
|-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 255);" | |-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 255);" | ||
Line 63: | Line 63: | ||
| | | | ||
− | Returns the type of entity being viewed on the current screen (e.g. [[ | + | Returns the type of [[entity|entity]] being viewed on the current screen (e.g. [[Authority record|authority record]]); appears as part of the [[Screen title|screen title]] on [[Edit screen|edit screens]]. |
|-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(255, 243, 243);" | |-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(255, 243, 243);" | ||
Line 73: | Line 73: | ||
| | | | ||
− | Returns the type of entity being viewed on the current screen (e.g. [[ | + | Returns the type of [[Entity|entity]] being viewed on the current screen (e.g. [[Archival institution|archival institution]]); appears as part of [[Screen title|screen title]] on [[List screen|list screens]]. |
|-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 255);" | |-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 255);" | ||
Line 83: | Line 83: | ||
| | | | ||
− | Returns the type of entity being viewed on the current screen (e.g. [[ | + | Returns the type of [[Entity|entity]] being viewed on the current screen (e.g. [[Archival description|archival description]]); appears as part of screen title on [[View screen|view screens]]. |
|} | |} |
Revision as of 11:38, 23 July 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.
Translate template tokens
Main Page > (UM) User manual > UM-5 Translate content / interface > UM-5.5 Translate interface > UM-5.5.1 Translate template tokens
The names of some user interface elements include template tokens.
Tokens:
- Are variables whose value is determined by dynamically by the context.
- Are represented by a number enclosed in percent signs (e.g. "%1%").
- 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.
The table below enumerates in English the elements whose name includes a token and for each gives a brief explanation of the nature of the variable and the context in which it occurs.
Element name |
Variable |
Context |
---|---|---|
%1% profile |
User's account name |
Returns user's account name in the system menu; clicked by the user to edit his or her user profile; appears on all screens. |
list all %1% |
Entity type |
Returns the type of entity being viewed on the current screen (e.g. archival description); appears as part of text on the list all button on edit screens. |
edit %1% |
Entity type |
Returns the type of entity being viewed on the current screen (e.g. authority record); appears as part of the screen title on edit screens. |
list %1% |
Entity type |
Returns the type of entity being viewed on the current screen (e.g. archival institution); appears as part of screen title on list screens. |
view %1% |
Entity type |
Returns the type of entity being viewed on the current screen (e.g. archival description); appears as part of screen title on view screens. |