GET /v1/translations
Get translations for specified language
Returns all translations or specific module translations for the requested language. Used by frontend to load UI translations.
Request
GET /v1/translations
Parameters
[
{
"schema": {
"type": "string",
"enum": [
"tr",
"en"
],
"default": "tr"
},
"required": false,
"name": "lang",
"in": "query"
},
{
"schema": {
"type": "string"
},
"required": false,
"name": "module",
"in": "query"
}
]
Response
{
"200": {
"description": "Translations retrieved successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"language": {
"type": "string"
},
"translations": {}
},
"required": [
"success",
"language"
]
}
}
}
}
}
View in Interactive API Reference