TInternational_MapString

 

Tornado does not use literal strings per se - whenever you do something like a TCORE_ERROR_LOC(e, "Literal string") the macro converts the literal string into a TCore_String before internal use (see TCore_String for why this is done).

Tornado also supports internationality, and this is done through the TInternational_MapString macro. Using where the string was used plus the literal string itself, it is easy for Tornado, if required, to translate entries into the system locale language. However, if as for most computer users, English is their preferred choice, Tornado code benefits from not having to look up each entry and simply translates the given literal into a TCore_String.


(C) 1998 The Tornado II programming team (Last updated: 15 March 2009 19:01:54 -0000)