Difference between revisions of "Handling complex translation needs"

From ICA-AtoM
Jump to navigation Jump to search
Line 3: Line 3:
 
[[Main Page]] > [[User manual|(UM) User manual]] > [[UM-5|UM-5 Translate content / interface]] > [[UM-5.5|UM-5.5 Translate interface]] > UM-5.5.1 Translate template tokens
 
[[Main Page]] > [[User manual|(UM) User manual]] > [[UM-5|UM-5 Translate content / interface]] > [[UM-5.5|UM-5.5 Translate interface]] > UM-5.5.1 Translate template tokens
  
 
+
[[Image:um5-5-1Tokens.png|500px|right|thumb|Some interface element names include template tokens]]
 
 
{| align="right" style="width:50%; border: 1px solid rgb(255, 201, 201)"
 
 
 
|-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(240, 240, 255);"
 
 
 
|
 
'''%1% profile'''
 
 
 
*User's account name
 
 
 
*Returns user's [[Glossary#Account name|account name]] in the [[Glossary#System menu|System menu]] link; clicked by the user to edit his or her [[Glossary#User profile|user profile]]; appears on all screens.
 
 
 
 
 
|-valign="top" align="left" style="color: rgb(0, 0, 0); background-color: rgb(255, 243, 243);"
 
|
 
'''list all %1%'''
 
 
 
*Entity type
 
 
 
*Returns the type of entity being viewed on the current screen (e.g. [[Glossary#Archival description|archival description]]); appears as part of text on the [[Glossary#List all button|List all button]] on [[Glossary#Edit screen|Edit screens]].
 
 
 
|}
 
  
  

Revision as of 14:22, 16 June 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

Some interface element names include 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 accompanying table enumerates in English the elements whose name includes a tokens 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 link; 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 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.