Language-specific settings
Use the individual language elements in SpellCfg.xml to override settings applied to all languages, and to specify a custom dictionary.
<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:
| ID | Name | Language name in English |
|---|---|---|
am | English (United States) | English (United States) |
br | English (United Kingdom) | English (United Kingdom) |
ca | English (Canada) | English (Canada) |
da | Dansk | Danish |
du | Nederlands | Dutch |
fi | Suomi | Finnish |
fr | Français | French |
ge | Deutsch | German |
it | Italiano | Italian |
nb | Norsk | Norwegian (Bokmål dialect) |
pb | Português (Brasil) | Brazilian Portuguese |
po | Português (Portugal) | Iberian Portuguese |
sp | Español | Spanish (all regional dialects) |
sw | Svenska | Swedish |
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 thereportDoubledWordsetting 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.