Application Languages
yuuvis® RAD client is provided by default with German, English, Japanese, Chinese, Korean, and Thai as the application languages.
The default setting is the browser language and English is the fallback language.
You can integrate additional languages and define a fallback language. Languages always include date formats and properties such as the beginning of the week.
To include an additional language in yuuvis® RAD client you need to translate the language file and configure yuuvis® RAD accordingly.
To translate a language file, follow these steps
- In the yuuvis® RAD service-manager installation directory, navigate to the <service-manager-data>\webresource\public\client\assets\_default\i18n\ directory and select a language file for translation: de.json for German as the source language or en.json for English.
- The file contains all yuuvis® RAD client UI strings listed as key-value pairs. Translate the values into the required language. The keys are not changed.
- Use the corresponding language code to name the translated file (such as es.json for Spanish) and save the file in the <service-manager-data>\webresource\resources\client\assets\i18n\ directory.
To integrate a language, follow these steps
Taking these steps allows you to customize the custom extend.json configuration file.
- Open the extend.json file located in the <service-manager-data>\webresource\resources\client\assets\_default\config\ directory and add the new application language as shown in the example below. You can also define a fallback language. By default, the fallback language is English.
If there is no language file for an application language and the fallback language should be used, then the date formats and properties of the application language will still be used.
In the following example, the application languages German, English, Japanese, and Spanish are specified and the fallback language is English.
"languages": [
{
"iso": "de",
"label": "Deutsch"
},
{
"iso": "en",
"label": "English",
"fallback": true
},
{
"iso": "ja",
"label": "日本"
},
{
"iso": "es",
"label": "Español"
}
], - Save the file.
Users can now select the new language in the settings of yuuvis® RAD client.
If necessary, the browser cache must be deleted and yuuvis® RAD client reloaded.
Language Codes
The following table shows the language codes of the languages supported by yuuvis® RAD client.
If you need a different language, please contact the OPTIMAL SYSTEMS GmbH consulting team.
German | de | Hindi | hi | |
English-USA | en | Italian | it | |
French | fr | Bengali | bn | |
Dutch | nl | Korean | ko | |
Spanish | es | Ukrainian | uk | |
Portuguese | pt | Latvian | lv | |
Chinese | zh | Slovak | sk | |
Russian | ru | Arabic | ar | |
Japanese | ja | Vietnamese | vi | |
Thai | th | Hebrew | he | |
Malay | ms | Finnish | fi | |
Danish | da | Swedish | se | |
Norwegisch Bokmål | nb | Nynorsk | nn | |
Indonesisch | id |
By default, the writing direction is set from left to right. It is possible to change the writing direction to right to left for the Arab and Hebrew languages:
Example: ar.json:
"iso": "ar",
"label": "العربية",
"dir": "rtl"
Compound Language Abbreviations
You can use the following compound language abbreviations:
de-CH | German-Switzerland |
en-GB |
English-UK en corresponds to English-USA |
zh-Hant | Chinese-traditional |
Compound language abbreviations identify date formats and specific separators for numbers in particular.
Language resources for yuuvis® RAD core-service are always evaluated for simple language abbreviations only.
Language files for yuuvis® RAD client UI strings can also be created for compound language abbreviations.
Example: Swiss German
For Swiss German, use the compound language abbreviation 'de-CH':
-
main.json / extend.json
"languages": [
{
"iso": "de",
"label": "Deutsch"
},
{
"iso": "de-CH",
"label": "Deutsch - Schweiz"
}
],'de-CH' differs from 'de' in particular as regards the separators for digits.
For example: de: 4.711,45 – de-CH: 4'711.45
-
de-CH.json
If there is no translated de-CH.json language file for yuuvis® RAD client UI strings, de.json is used.
-
jas-systemtextresources_de.xml
The language resources for yuuvis® RAD core-service in the jas-systemtextresources_de.xml file are always used for Swiss German as well. A file named jas-systemtextresources_en-CH.xml would not be evaluated.
yuuvis® RAD designer does not distinguish between German and Swiss German. The displayed language is always 'German'. The same designations are always used in the schema for German and Swiss German.
When calling up the online help, the German help is always called.