Overview of the Configuration File config.json
Structure of the Configuration File
The structure of the configuration file config.json is as follows:
{ "supportedLocales": [ { "name": "EN", "id": "en", "isDefault": "true", "acrossLanguage": "en-US" }, { "name": "DE", "id": "de", "acrossLanguage": "de-DE" }, { "name": "FR", "id": "fr", "acrossLanguage": "fr-FR" } ], "sourceLanguage": "en-UN" }
Rules for Editing the Configuration File
- Observe the following rules when editing the configuration file:
- Open the file with a text editor, e.g. Notepad++.
- Each user interface language is specified in a separate line.
Example:
{ "name": "DE", "id": "de", "acrossLanguage": "de-DE" }
- Separate the individual language lines with commas.
Example:
{ "name": "DE", "id": "de", "acrossLanguage": "de-DE" }, { "name": "FR", "id": "fr", "acrossLanguage": "fr-FR" }
- There is no comma after the last language line.
- Insert a new line for each new interface language.
- Tip
Copy one of the existing lines and replace the language values in the copied line. An overview of the individual language values to be entered is available here: https://msdn.microsoft.com/en-us/library/cc233982.aspx
- To determine the user interface language to be displayed by default, enter the attribute isDefault in the respective language line and set the value true.
Example:
{ "name": "EN", "id": "en", "isDefault": "true", "acrossLanguage": "en-US" }
- In the drop-down list, the user interface languages will be displayed in the order in which you enter them in the configuration file.
- If not all strings are available in a language, the untranslated strings will be displayed in English.
Example:
{ "name": "DE", "id": "de", "acrossLanguage": "de-DE" } can be copied and customized as follows for Dutch: { "name": "NL", "id": "nl", "acrossLanguage": "nl-NL" }
Attention
Save the config.json file prior to every Across update and replace the file stored by the update with your saved file.