Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Internationalization (i18n) API

Download OpenAPI (YAML)Version 1.0

Base URL: https://localhost:8090

API to manage internationalization (i18n) translations organized by language, namespace, and key.

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:8090/oauth2/token, authorization URL https://localhost:8090/oauth2/authorize

1 scopes
ScopeDescription
systemAccess to system management APIs

clientCredentials flow, token URL https://localhost:8090/oauth2/token

1 scopes
ScopeDescription
systemAccess to system management APIs

Languages​

List supported languages

List all languages​

GET /i18n/languages

Returns a list of all language tags that have translations in the system.

Responses

CodeDescriptionSchema
200

List of language tags

LanguageListResponse
500

Internal server error

Error

resolve​

Resolve translations (runtime)

Resolve all translations for a language​

GET /i18n/languages/{language}/translations/resolve

Resolves all translations for a language by merging custom and default values; returns 200 even when only defaults exist (404 only if neither custom nor default exists for the requested scope).

Parameters

NameInTypeRequiredDescription
languagepathstringYes

Language tag in canonical BCP 47 format (e.g., en-US, es, fr-CA).

namespacequerystring

Filter translations by namespace.

Responses

CodeDescriptionSchema
200

Translations resolved

LanguageTranslationsResponse
400

Bad request

Error
500

Internal server error

Error

Resolve a single translation​

GET /i18n/languages/{language}/translations/ns/{namespace}/keys/{key}/resolve

Resolves the final value for a translation by merging custom and default values; returns 200 even when only a default exists (404 only if neither custom nor default exists).

Parameters

NameInTypeRequiredDescription
languagepathstringYes

Language tag in canonical BCP 47 format (e.g., en-US, es, fr-CA).

namespacepathstringYes

Namespace for grouping translations (e.g., auth, errors, common).

keypathstringYes

Translation key within the namespace (e.g., login.button, user.not_found).

Responses

CodeDescriptionSchema
200

Translation resolved

TranslationResponse
400

Bad request

Error
404

Translation not found

Error
500

Internal server error

Error

management​

Manage translations (admin)

Set translations for a language​

POST /i18n/languages/{language}/translations

Replaces all custom translations for the language with the provided values.

Scopes: system

Parameters

NameInTypeRequiredDescription
languagepathstringYes

Language tag in canonical BCP 47 format (e.g., en-US, es, fr-CA).

Request body (required): application/json

Schema: SetTranslationsRequest

1 property
NameTypeRequiredDescription
translationsobjectYes

Translations organized by namespace.

Responses

CodeDescriptionSchema
200

Custom translations set

LanguageTranslationsResponse
400

Bad request

Error
500

Internal server error

Error

Clear all translations for a language​

DEL /i18n/languages/{language}/translations

Removes all custom translations for the language.

Scopes: system

Parameters

NameInTypeRequiredDescription
languagepathstringYes

Language tag in canonical BCP 47 format (e.g., en-US, es, fr-CA).

Responses

CodeDescriptionSchema
204

Custom translations cleared

400

Bad request

Error
500

Internal server error

Error

Set a single translation​

POST /i18n/languages/{language}/translations/ns/{namespace}/keys/{key}

Creates or updates a custom translation for the specified language, namespace, and key.

Scopes: system

Parameters

NameInTypeRequiredDescription
languagepathstringYes

Language tag in canonical BCP 47 format (e.g., en-US, es, fr-CA).

namespacepathstringYes

Namespace for grouping translations (e.g., auth, errors, common).

keypathstringYes

Translation key within the namespace (e.g., login.button, user.not_found).

Request body (required): application/json

Schema: SetTranslationRequest

1 property
NameTypeRequiredDescription
valuestringYes

Translation value.

Responses

CodeDescriptionSchema
200

Translation set

TranslationResponse
400

Bad request

Error
500

Internal server error

Error

Clear a single translation​

DEL /i18n/languages/{language}/translations/ns/{namespace}/keys/{key}

Removes the custom translation for the specified language, namespace, and key.

Scopes: system

Parameters

NameInTypeRequiredDescription
languagepathstringYes

Language tag in canonical BCP 47 format (e.g., en-US, es, fr-CA).

namespacepathstringYes

Namespace for grouping translations (e.g., auth, errors, common).

keypathstringYes

Translation key within the namespace (e.g., login.button, user.not_found).

Responses

CodeDescriptionSchema
204

Custom translation cleared

400

Bad request

Error
500

Internal server error

Error

Schemas​

LanguageListResponse​

Type: object

1 property
NameTypeRequiredDescription
languagesarray of string

List of language tags available in the system.

TranslationResponse​

Type: object

Single translation response.

4 properties
NameTypeRequiredDescription
languagestringYes

Language tag.

namespacestringYes

Namespace of the translation.

keystringYes

Translation key.

valuestringYes

Translated value.

SetTranslationRequest​

Type: object

Request to set a single translation.

1 property
NameTypeRequiredDescription
valuestringYes

Translation value.

LanguageTranslationsResponse​

Type: object

All translations for a language, organized by namespace.

3 properties
NameTypeRequiredDescription
languagestringYes

Language tag.

totalResultsinteger

Total number of translation keys returned.

translationsobjectYes

Translations organized by namespace.

SetTranslationsRequest​

Type: object

Request to set custom translations for a language.

1 property
NameTypeRequiredDescription
translationsobjectYes

Translations organized by namespace.

I18nMessage​

Type: object

Internationalized message with translation key and default value.

2 properties
NameTypeRequiredDescription
keystringYes

Translation key for fetching localized message.

defaultValuestringYes

Default message in English (fallback).

Error​

Type: object

3 properties
NameTypeRequiredDescription
codestringYes

Error code. Codes follow the I18N-XXXX convention.

messageI18nMessageYes

Internationalized message with translation key and default value.

descriptionI18nMessage

Internationalized message with translation key and default value.

Was this page helpful?