#### 39.4.6 Editing a language configuration file

DITA2Go provides a collection of language configuration files that contain settings for the text of various output headings, labels, and names, in different languages. These files are located in %OMSYSHOME%\d2g\local\lang. You can customize these files with values that are appropriate to your particular needs. Table 39-8 lists the language configuration files you can edit.

Table 39-8 Language configuration files

Language | Editable language configuration file
Czech |
    local_d2g_lang_cz.ini
German |
    local_d2g_lang_de.ini
English |
    local_d2g_lang_en.ini
Spanish |
    local_d2g_lang_es.ini
French |
    local_d2g_lang_fr.ini
Russian |
    local_d2g_lang_ru.ini

The English language configuration file is referenced by the configuration template at the top of the general-configuration chain: %OMSYSHOME%\d2g\system\d 2g_config.ini:

    [Templates]
    Languages=%omsyshome%\d2g\local\lang\local_d2g_lang_en.ini

If you plan to produce output in a language other than English, you can include a reference in your starting configuration file to point to a different language-specific template. For example, to reference the German version, add this setting:

    [Templates]
    ; Languages = path to main language configuration template
    Languages = %OMSYSHOME%\d2g\local\lang\local_d2g_lang_de.ini

This setting will override the default setting in d2g_config.ini.

See §8.10 Localizing output headings, labels, and names.

Previous Topic: 39.4.5 Editing a format configuration file

Next Topic: 39.4.7 Editing a macro configuration file

Parent Topic: 39.4 Deciding which configuration file to edit

Sibling Topics:

39.4.1 Understanding what configuration files are available

39.4.2 Editing a project configuration file

39.4.3 Editing a document-specific configuration file

39.4.4 Editing an output-specific configuration file

39.4.5 Editing a format configuration file

39.4.7 Editing a macro configuration file