User Tools

Site Tools


translation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
translation [2009/11/30 22:51] glaubitztranslation [2009/12/02 01:51] – added paragraph about place holders glaubitz
Line 66: Line 66:
  
 ==== Place holders ==== ==== Place holders ====
 +
 +Place holders are used to reserve parts of a text for information that is inserted on runtime by the program code. That is, while the program is actually running. This is necessary to provide the user with dynamically generated information, like how many tracks were deleted or on how many tracks errors were detected.
 +
 +A very simple example is:
 +
 +<code>
 +Track %1
 +</code>
 +
 +which is used to caption a track in the user interface. "%1" here is the place holder which is replaced by a numeric on runtime.
 +
 +For translations, it is important that all place holders are also present in the translated text.
 +
 +Thus, the above one translates to in Norwegian:
 +
 +<code>
 +Spor %1
 +</code>
 +
 +It doesn't matter, at what position in the translated sentence, the place holder is shown but only the fact that it actually exists. The position solely depends on your translation. So, in German, it might also be something like:
 +
 +<code>
 +%1 er Track
 +</code>
  
 ==== HTML formatting ==== ==== HTML formatting ====
translation.txt · Last modified: 2011/01/28 23:48 by glaubitz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki