Adding a New Language
Adding a New Language
There are 2 ways of selecting the language:
- Generic Language Screen (Default) = Recommended
- Language Tableau = Not supported for OneX Self Checkout
Generic Language Screen
ScoConfig.welcomeScreen=LanguageGenericLocalizationServiceConfig.customerLocalesList=de_DE;en_USIt is possible to define up to 6 languages.
Language Tableau
ScoConfig.welcomeScreen=LanguageTableauAdding the Language Selection Button in the Menu Editor
Add the language selection button in the Menu Editor. To do this, proceed as follows:
- Edit the welcome screen of the Self Checkout POS
- Add a functional button. The name of the function corresponds to the name of the language.
- Select the type "Toggle button".
A prerequisite is that the language you wish to select already exists in the file TableauConfig.json .
{
"com.gk_software.pos.api.model.config.component.client.ui.tableau.TableauProcess": {
"description": "Italian",
"reactionName": "setLanguage_it_IT"
}
}The following table contains the descriptions of the parameters:
| Parameter | Description |
|---|---|
| reactionName | setLanguage _ {language_country} .properties |
| description | Language description |
The file TableauConfig.json is located in the Menu Editor at the following path:
..\gkretail\med\tableau-data\TableauConfig.json
Translation of the Tableau
Now translate the menu into the desired language. To do this, proceed as follows:
- Edit the respective menu.
- Select the respective language in the language selection list.
- Enter the translations.
If the language is not included in the language selection list, add it to the file TableauVariants.json of the corresponding layoutType.
The entry may look as follows:
{
"com.gk_software.gkr.pos.tableau.api.model.TableauVariant": {
".": {
"com.gk_software.gkr.pos.tableau.api.model.Language": {
"languageID": "it_IT",
"name": "it_IT",
"variantID": "5"
}
},
"id": "5",
"layoutType": "SCO"
}
}
The file is located in the Menu Editor at the following path:
..\gkretail\med\tableau-data\TableauVariants.json