Simple Usage:
0. run program
0. copy and rename "translate/dir/base" to "translate/dir/lang.lt", where <lang> is language to translate
0. in each line in "translate/dir/lang.lt" write translation of line, for example hello : привет
0. profit
load localizations from directory
singleton class for localization
localization handler
convert key to word
main function for localization when debug(printlocalizationkeys) output keys from pragma
setTranslatePath( "<translate/dir>" ); writeln( _!"hello" ); Translator.setLocalization( "ru" ); writeln( _!"hello" ); writeln( _!"world" );
See Source File
Simple Usage:
0. run program
0. copy and rename "translate/dir/base" to "translate/dir/lang.lt", where <lang> is language to translate
0. in each line in "translate/dir/lang.lt" write translation of line, for example hello : привет
0. profit