User GuideAPI Reference
ProductUse CasesResource CenterFAQAbout UsBook a DemoSign Up - It's Free
API Reference

Add locale to the available locales

Add locale to the available locales

Locale codes are lowercase formatted and using '-' between country code and language, for example: 'en-us'

Request Body Parameters:

ParameterTypeMandatoryDescriptionExample
codestringtrueLocale in the following format: {language-ISO639}-{countryCode-ISO3166} lowercase.en-us
hiddenbooleanfalsefalse
translationFallbackTypesarrayfalseValid array values: DEFAULT_LOCALE,SYSTEM_LOCALE. Allow to control the fallback mechanism. If not provided(null) then the default behavior is the following fallback order: -> DEFAULT_LOCALE -> SYSTEM_LOCALE. The recommended value is null. When all of the fallback types return an empty value, no translation will be made, i.e. the original value will be retained

This API requires SETTINGS_CREATE_LOCALE permission(s).

Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!