Localization
fulfillmenttools supports localization, enabling data management in multiple languages. This article explains how to change user and fulfillmenttools locales, request specific languages, and handle localized entity fields.
Supported languages
We currently support 16 languages, including English, Spanish, French, German, and more. The list of supported languages can be retrieved via API:
GET https://{YOUR_TENANT_NAME}.api.fulfillmenttools.com/api/configurations/supportedlocalesUsage
Many entities already support localization. fulfillmenttools automatically applies the target language in responses.
For example, article titles require translations during creation:
"titleLocalized": {
"en_US": "This is a very nice title",
"de_DE": "Dies ist ein sehr schöner Titel",
"fr_FR": "Ce titre est très sympa"
}Validation rules for localized objects:
Must contain at least one entry
Keys must be valid locale codes (for example,
en_US) adhering to the ISO 639 language code (for example,en) and the ISO 3166-1 country code (for example,US).Values must have a minimum length of 1
When requested via the REST API, the title field is automatically filled with the appropriate translation. For a German user, the response is:
Request a specific language
Language selection can be controlled in three ways:
User locale: Defined in the user object and included in the Bearer token.
Request locale: Specified with the
localequery parameter.Localized field: The
*Localizedfield always contains all translations.
Fallback language
If the requested language is unavailable, fulfillmenttools applies the following fallback order:
Language defined in user settings
Default fulfillmenttools language
English
First available language for the entity
Non-localized field value (legacy entities only)
Change user locale
Refer to the Users API documentation for details.
To change a user's locale, send a PATCH request with the new locale. After updating, refresh the authentication token to apply the change.
Change default locale
Refer to the Configurations API documentation for details.
The default locale defines the standard language for fulfillmenttools. Update it with a PUT request:
Last updated
Was this helpful?

