[POST] .../v1/translation/get
Returns information about all variables of the specified language. Use this method to load the full translation variable list for a language, usually for client-side localization cache refreshes. The method allows anonymous access, requires language_code through a filters, normalizes the code to uppercase, loads the language list and translation JSON from the configured update CDN, caches values in Redis and returns a Translation array. Missing body, missing language_code, unknown language codes, CDN or Redis failures and storage/cache errors are returned as HTTP 200 ErrorResult business errors when the persistent layer reports them.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| filters | Array of Filter | Optional | Optional filters by fields available for this API method. |
Filterable Fields
| Field | Type | Description |
|---|---|---|
| language_code | string | Language code used to load translations. The API normally expects a three-letter code such as RUS or ENG. |
Request Example
{
"filters": [
{
"Field": "language_code",
"Operator": "Equal",
"Value": "ENG"
}
]
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Array of Translation | Result object. |
Response Example
{
"ok": true,
"result": [
{
"variable": "DASHBOARD",
"variable_value": "DASHBOARD",
"value": "Dashboard",
"translate_value": "Dashboard"
},
{
"variable": "WIDGETS",
"variable_value": "WIDGETS",
"value": "Widgets",
"translate_value": "Widgets"
}
]
}