File SMLexicon.mys

Enhance built-in translation lexicon used by Dialog.Translate:

SMLexicon.mys is automatically included when you Include "SMUtils".

Author
Sylvain Machefert

Class

ClassSummary
LexiconLexicon object that call Dialog.Translate for all texts of an item (caption, context help, items, tab labels...), and reports missing entries in lexicon file.

Table

TableSummary
Dialog.UserTableFunctions and variables in MyrScript's Dialog.UserTable

Summary

Return typeFunction and summary
 SetDefaultLanguage(string language)
At the beginning of a script, force the default language for Lexicon.

Function

SetDefaultLanguage(string language)

At the beginning of a script, force the default language for Lexicon.

Note that this language remain the default for next scripts run in the same Harmony Assistant session, unless you call ForceLanguage(nil).

ParameterTypeDefaultDescription
languagestring "en", "fr" or nil
See
Lexicon