language.texi (770B)
1 @node language 2 @chapter Handling languages 3 4 5 Templates, external code symbols and menu labels can be resolved differently depending on language. 6 7 This is enabled by the @ref{execution_context, Execution context} of the engine. Through the context, the current language, if set, is always available to client code. 8 9 Language specification is encapsulated by the @code{lang} module, using the ISO639 language identifier standard. 10 11 12 @section Defining language 13 14 The default language can be set in @code{engine.Config.Language}. 15 16 It may also be set as a side-effect of bytecode execution. This is done by executing @code{LOAD} with a symbol returning an @code{ISO639} language code, while setting the @code{LANG} signal flag (see @ref{builtin_flags, Built-in signal flags}.