Setting System Language
The system language of the POS Client is set in the file services-client.properties :
{language_country}
See also the example below:
LocalizationServiceConfig.defaultLocale=en_US
In this example, en_US is set as system language. The language is English (en) and the country is (US).
Using Foreign Language Menus
Foreign language menus can only be used on the POS Client if the following files are available:
- config-translation.{language_country}
- ui-translation_ {language_country} .properties
The operator to be logged in must have the same language indicator. See the following example taken from the import file:
<person:LanguageID>deDE</person:LanguageID>
Translation rules
All texts to be translated must be defined as keys.
Example buttons:
When defining a button, a key is stored. See the following example taken from the file registrationTabs.xml :
<input id="giftCertificateSaleButton" type="button" valueKey="giftCertificateSale.saleGiftCard.button" configId="GiftCertificateSaleConfigs.GiftCardSale" />
The key valueKey="giftCertificateSale.saleGiftCard.button", which is used here, is stored for each ui-translation_ {language_country} .properties :
giftCertificateSale.saleGiftCard.button=Gift Card Verkauf
giftCertificateSale.saleGiftCard.button=Gift Card Sale
Currency symbol
Currencies are managed via global configuration. Each currency may have an assigned currency symbol that is used by the POS Client, e.g. in the item info panel. An entry taken from the global configurationCurrency may look as follows:
<CurrencyElementDO> <BugHeader> <bugImportHeader:ExternalBusinessUnitGroupID>1</bugImportHeader:ExternalBusinessUnitGroupID> </BugHeader> <CurrencyDO> <currency:ISOCurrencyCode>USD</currency:ISOCurrencyCode> <currency:ISOCountryCode>US</currency:ISOCountryCode> <currency:ISOCurrencyName>US Dollar</currency:ISOCurrencyName> <currency:Symbol>$</currency:Symbol> </CurrencyDO> </CurrencyElementDO>
The following table contains the descriptions of the parameters:
| Parameter | Description |
|---|---|
| ISOCurrencyCode | ISO currency code |
| ISOCountryCode | ISO country code |
| ISOCurrencyName | Currency name |
| Symbol | Currency symbol |