# Job_SetLanguage

> Define language for all message boxes. If the option sLanguage is equal "OS" the job uses the default system locale.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/job-functions/job-setlanguage/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

Define language for all message boxes. If the option sLanguage is equal "OS" the job uses the default system locale. If this function is not called the language will default to ENGLISH. Supported languages can be found in Capalib.ini. Use the header name for each section. Only English, Danish and German has been translated, other supported languages are only available in English

### Syntax

Job_SetLanguage(sLanguage) As Boolean

### Parameters

#### sLanguage (String)

Specific language (ENGLISH/DANISH/GERMAN/OS)

### Example

**VBScript**

```vb
If bStatus Then bStatus=Job_SetLanguage("DANISH")
```

#### [Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/)
