GetTranslationPacket
[POST] .../v1/translation/gettranslationpacket
Returns a translation package. Use this method when a client needs a packaged language payload with language code, version and indexed TranslationShort records. Normal API access rules apply; provide a language_code filter for an available language. Returns LanguageTranslationData with the language code, version and indexed translations. Missing body or language_code, unknown language codes and translation loading failures return HTTP 200 ErrorResult.
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 | LanguageTranslationData | Result object. |
Response Example
{
"ok": true,
"result": {
"code": "ENG",
"version": 1712345600,
"data": [
{
"id": 1,
"variable_value": "DASHBOARD",
"translate_value": "Dashboard"
}
]
}
}