Changes between Version 21 and Version 22 of Internationalization


Ignore:
Timestamp:
May 1, 2014, 1:25:30 AM (10 years ago)
Author:
Adrián Chaves
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Internationalization

    v21 v22  
    5858        the locale that the game is currently using, such as ‘en_US’."
    5959        >Locale:</translatableAttribute>
     60</object>
     61}}}
     62
     63== Defining a Translation Context ==
     64
     65Translation context are keywords associated by developers with English strings. Contexts are used to indicate that an English string might have a different translation that the same English string used somewhere else. For more information, see “Using Context Functions” below.
     66
     67To define a context in an XML element, simply define a `context` attribute with the context keyword. For example:
     68
     69{{{
     70<object type="label">
     71    <translatableAttribute id="caption" context="newGame">Start</translatableAttribute>
    6072</object>
    6173}}}