Chapter II. Advanced Integration
Prev | 4. Localizing edit-on Pro | Next

## 4. Localizing edit-on Pro

The user interface of edit-on Pro is completely localizable. The user interface languages available by default are English (U.S.), German, French and Spanish. The `locale` property is used to select the language used by the editor's user interface.

### 4.1. The `locale` Property

The `locale` property consists of a combination of a language code and a country code `xx_YY` where:

`xx` = language code (ISO 639)

`YY` = country code (ISO 3166)

### Note:

The locale setting has no influence on the language used by the spell checker.

### 4.2. Custom Localization

If you want to customize the localization of the editor, you can use the `localeurl` property to indicate the location of a custom XML locale file. The editor will use this file to localize the user interface. The locale file is an XML file mapping the strings used in dialogs and the `localeid` attributes of the elements defined in the user interface configuration file to the localized strings defined in the locale file.

The locale file must contain the following information:

    <locale>
        <product>edit-on Pro</product>
        <version>VERSION</version>
        <language>xx_YY</language>
        <localestrings>
            <string id="ID">Localization information</string>
            . . .
        </localestrings>
    </locale>

- `VERSION` is the version of edit-on Pro

- `xx_YY` is the language code used in the localization file. This complies to the format used by the locale setting.

- `ID` is the ID the of the user interface element that will be mapped to this localized string.

- `Localization information` is the string the user interface element with the corresponding ID is mapped to.

Prev | Up | Next
3. Direct HTTP Connection API | Home | 5. Accessibility