Skip to content

Job_SetLanguage

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.

Job_SetLanguage(sLanguage) As Boolean

Specific language, for example ENGLISH, DANISH, GERMAN, FRENCH or NORWEGIAN, or OS.

If bStatus Then bStatus=Job_SetLanguage("DANISH")

Scripting Guidelines

Sys_GetLocaleLanguageID Constants Package Property Variables