Translation

Get translations

Get translations for given keys and locale

post/pimcore-studio/api/translations

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /pimcore-studio/api/translations
  • Auth: none declared

Request body

localestring required

Locale

keysstring[] required

Keys for Translation - Fallback will be applied to all Keys automatically

useFallbackboolean

Apply Fallback Language. Used only if no keys are defined

Example request

{
  "locale": "en",
  "keys": [
    "not_your_typical_key"
  ],
  "useFallback": true
}

Response

Key value pairs for given keys and locale

localestring required

Locale

keysstring[] required

Keys for Translation - Fallback will be applied to all Keys automatically

useFallbackboolean

Apply Fallback Language. Used only if no keys are defined

Example response

{
  "locale": "en",
  "keys": [
    "not_your_typical_key"
  ],
  "useFallback": true
}

Changes

No recorded changes to this operation across all 2 revisions of this API.