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 the project_lang key in the Emporix API Configuration Service. Check out the following language configuration example:
Copy
Copied
{
  "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}]"
}
Site-specific language configuration is stored in the defaultLanguage and languages fields, inside the Site object.
Copy
Copied
{
  "defaultLanguage": "de",
  "languages": [
    "de",
    "en"
  ]
}
info
For more information on the 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 the Retrieving a configuration endpoint.
Loading...

How to change your tenant's language configuration

To change your tenant's language configuration, you need to send a request to the Updating a configuration endpoint with updated language information in the request body.
attention

The id in the request body must be compliant with the ISO 4217 standard.

Loading...

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 the Retrieving a site endpoint. The language configuration will be returned in the the defaultLanguage and language fields in the response body.
Loading...

How to change a particular site's language configuration

To change a particular site's language configuration, you need to call the Partially updating a site endpoint with language configuration of your choice in the request body.
attention

The currency code must be compliant with the ISO 4217 standard.

Loading...