Skip to main content

i18next - Get JSON

GET /localization/i18next/{language}
devhttps://api.sandbox.ovok.com

Download the i18next JSON file for applications

Applications require the i18next JSON file to be downloaded and used to initialize the i18next library. The response is a JSON object with the i18next format.

NOTE: The provided language must be enabled in the system by calling Locale APIs.

Parameters

NameInTypeRequiredDescription
languagepathstringyesLocale code to fetch the i18next JSON for (e.g. en, de). Must be enabled for the project via the Locale APIs.

Responses

CodeDescription
200Success.
400The request could not be operated by the server.
401The resource owner or authorization server denied the request.
404The requested resource could not be found.
422The request could not be validated by the server.
500The server encountered an unexpected condition. Please try again later.

200i18nGetDto (application/json)

  • key: string (required) — Alphabetic key
  • language: string (required)

Example

{
"page": {
"about": "about",
"contact": "contact",
"home": {
"title": "home"
}
}
}