Job_SetLanguage
Description
Section titled “Description”Define language for all message boxes. If this function is not called the language will default to ENGLISH.
If sLanguage is OS, the job uses the language the CapaInstaller agent has registered for the computer. If that language has no section in Capalib.ini, English is used. If the agent hasn’t registered a language, the job uses the system locale.
The message texts are stored in Capalib.ini in the Lib folder of the CapaInstaller client directory. Use the section name as the language name, for example FRENCH or PORTUGUESE (BRAZILIAN). English, Danish, German, French and Norwegian are translated. The other supported languages show the English texts.
Syntax
Section titled “Syntax”Job_SetLanguage(sLanguage) As Boolean
Parameters
Section titled “Parameters”sLanguage (String)
Section titled “sLanguage (String)”Specific language, for example ENGLISH, DANISH, GERMAN, FRENCH or NORWEGIAN, or OS.
Example
Section titled “Example”If bStatus Then bStatus=Job_SetLanguage("DANISH")Related functions
Section titled “Related functions”Sys_GetLocaleLanguageID Constants Package Property Variables