Language Configuration Tutorials
While the Emporix e-commerce system is designed in English, you can specify languages in which your business communicates with suppliers and customers. Languages are used when generating the following resources:
- Business reports
- Emails
- Invoices
- Packlists
- Picklists
- Shipping notes
Supported languages
The Emporix e-commerce system supports all existing languages, including regional language variants such as American English or Swiss German. By default, both your Emporix tenant and its main site have their language set to English.
info
Currently, the Emporix e-commerce system does not offer translation services.
To learn how to localize and translate your business's resources, check out the developer guides for particular services.
Language configurations
Languages are configured both tenant-wide and independently for particular sites.
info
What's the difference between a tenant's language configuration and a site's language configuration?
Languages configured for a particular site need to be a subset of languages configured for the whole tenant. In other words, your tenant's language configuration must include all languages configured for all of the sites.
Language codes defined in language configurations must be compliant with the IETF BCP-47 standard.
Your tenant's language configuration is stored under theproject_lang
key in the Emporix API Configuration Service. Check out the following language configuration example:{
"key": "project_lang",
"value": "[{\"id\":\"en\",\"label\":\"English\",\"default\":false,\"required\":false},{\"id\":\"de\",\"label\":\"German\",\"default\":true,\"required\":true},{\"id\":\"fr\",\"label\":\"French\",\"default\":false,\"required\":false}]"
}
defaultLanguage
and languages
fields, inside the Site
object.{
"defaultLanguage": "de",
"languages": [
"de",
"en"
]
}
info
Site
object, check out the Site Settings Service guide.Managing language configurations through Emporix API
Check out the following tutorials to learn more about language configuration with Emporix API.
How to check which languages are configured for your tenant
To retrieve your tenant's language configuration, you need to send a request to theHow to change your tenant's language configuration
To change your tenant's language configuration, you need to send a request to theattention
The id in the request body must be compliant with the ISO 4217 standard.
How to check which languages are configured for a particular site
To retrieve a particular site's language configuration, you need to send a request to thedefaultLanguage
and language
fields in the response body.How to change a particular site's language configuration
To change a particular site's language configuration, you need to call theattention
The currency code must be compliant with the ISO 4217 standard.