Changes between Version 1 and Version 2 of documentation/Localisation

Show
Ignore:
Author:
peterc (IP: 203.96.63.172)
Timestamp:
03/13/08 14:42:22 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/Localisation

    v1 v2  
    99Once libRocket has parsed text (and run it through the translator, see below), the strings will be converted into UCS-2, strictly for performance reasons. 
    1010 
    11 == String tables == 
     11== Translation == 
    1212 
    1313All raw text that libRocket reads while parsing RML (i.e., everything other than XML tags) is sent through the ''TranslateString()'' function on the [wiki:documentation/C++Manual/Interfaces#Thesysteminterface system interface]. The function is given the raw string as read, and the application can make any modifications necessary before returning the translated string (and the number of substitutions made) back to libRocket. 
    2626        } 
    2727}}} 
     28 
     29=== String tables === 
    2830 
    2931The ''TranslateString()'' method can be used in conjunction with an application's string table to make text substitutions on a document's text. For example, take the pause.rml file in the Rocket Invaders sample: