Internationalization API
These endpoints allow to retrieve available languages and translations.
| Method | Endpoint |
|---|---|
|
|
Description Get the languages used by the translations. |
|
Query Parameter
|
|
Returns The languages as JSON. Example response when
Example response when only_keys=true
HTTP Status Code
Content-Type
|
|
Required Access Rights Can be used without a user session. |
|
|
|
Description Get all supported languages. |
|
Query Parameter
|
|
Returns The languages as JSON. Example response when
Example response when only_keys=true
HTTP Status Code
Content-Type
|
|
Required Access Rights Can be used without a user session. |
|
|
|
Description Forces a re-load of the translations. |
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Get all translations for a specific language. This is a collection of the translations found in all
modules/bundles and the ones from our custom translations setting |
|
Path Parameter
|
|
Query Parameter
|
|
Returns JSON object with the translations. The keys are sorted in ascending order. HTTP Status Code
Content-Type
|
|
Required Access Rights Can be used without a user session. |
|
|
|
Description Checks if the provided language is known to the backend. Returns the default/fallback language if not. |
|
Path Parameter
|
|
Returns The given language when valid, otherwise the default language. Example response
HTTP Status Code
Content-Type
|
|
Required Access Rights Can be used without a user session. |