Documentation Center

Language-specific settings

Use the individual language elements in SpellCfg.xml to override settings applied to all languages, and to specify a custom dictionary.

Below the <options> section in SpellCfg.xml are a number of language elements, one for each language in which spell-checking is enabled. Each language element has an id attribute, set to a two-letter identifier of the language, and a name attribute, set to a human-readable name of the language. By default, the following languages are configured:
IDNameLanguage name in English
amEnglish (United States)English (United States)
brEnglish (United Kingdom)English (United Kingdom)
caEnglish (Canada)English (Canada)
daDanskDanish
duNederlandsDutch
fiSuomiFinnish
frFrançaisFrench
geDeutschGerman
itItalianoItalian
nbNorskNorwegian (Bokmål dialect)
pbPortuguês (Brasil)Brazilian Portuguese
poPortuguês (Portugal)Iberian Portuguese
spEspañolSpanish (all regional dialects)
swSvenskaSwedish

If you require dictionaries for other languages than the ones listed here, contact SDL Customer Support to check if a Language Pack for your language is available, or what your options are for requesting a Language Pack to be made.

Each language element contains the following sections:

<options>

If you want, you can override any general option here for which a language-specific override is possible. For example, if the top-level <options> section contains the reportDoubledWord setting set to 1 (enabled), and you want to override it (that is, disable it) for Finnish only, then add the following inside your <language id="fi" name="Suomi"> element, inside its <options> section:

<reportDoubledWord description="Report double words">0</reportDoubledWord>
<mainLex>

Only modify this section if you have a pressing reason to do so. This element specifies the main dictionary files.

<customLex>

Use this section to specify any supplementary custom dictionary files.