Languages
Languages
represent the available languages in the system. Each language can be activated or deactivated and is used for translations and localization throughout the application. Languages are managed by administrators and can be sorted for display purposes.
Model Definition
Attributes
Available Languages
ar-SA
– Arabicbg-BG
– Bulgariancs-CZ
– Czechda-DK
– Danishde-DE
– Germanel-GR
– Greeken-GB
– English (UK)en-US
– English (US)es-ES
– Spanishet-EE
– Estonianfi-FI
– Finnishfr-FR
– Frenchhe-IL
– Hebrewhu-HU
– Hungarianid-ID
– Indonesianit-IT
– Italianja-JP
– Japaneseko-KR
– Koreanlt-LT
– Lithuanianlv-LV
– Latviannb-NO
– Norwegian Bokmålnl-NL
– Dutchpl-PL
– Polishpt-BR
– Portuguese (Brazil)pt-PT
– Portuguese (Portugal)ro-RO
– Romanianru-RU
– Russiansk-SK
– Slovaksl-SI
– Sloveniansv-SE
– Swedishtr-TR
– Turkishuk-UA
– Ukrainianvi-VN
– Vietnamesezh-Hans
– Chinese (Simplified)zh-Hant
– Chinese (Traditional)
List
Get a list of all Languages
available to the current authenticated user.
Definition
GET
/api/languages
Example Request
$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('GET', '/api/languages', [
'headers' => ['Authorization' => "Bearer {accessToken}"]
]);
Example Response
[
{
"id": "ar-SA",
"locale": "ar",
"active": true,
"sort_number": 1,
"created_at": "2025-05-15 12:00:00",
"updated_at": "2025-05-15 12:00:00"
},
{
"id": "bg-BG",
"locale": "bg",
"active": true,
"sort_number": 2,
"created_at": "2025-05-15 12:00:00",
"updated_at": "2025-05-15 12:00:00"
}
]
Show
Show a single Language
by id
.
Definition
GET
/api/languages/{language}
Example Request
$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('GET', '/api/languages/ar-SA', [
'headers' => ['Authorization' => "Bearer {accessToken}"]
]);
Example Response
{
"id": "ar-SA",
"locale": "ar",
"active": true,
"sort_number": 1,
"created_at": "2025-05-15 12:00:00",
"updated_at": "2025-05-15 12:00:00"
}
[Adm.] List
Get a list of all Languages
.
Definition
GET
/api/administration/languages
Example Request
$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('GET', '/api/administration/languages', [
'headers' => ['Authorization' => "Bearer {accessToken}"]
]);
Example Response
[
{
"id": "ar-SA",
"locale": "ar",
"active": true,
"sort_number": 1,
"created_at": "2025-05-15 12:00:00",
"updated_at": "2025-05-15 12:00:00"
},
{
"id": "bg-BG",
"locale": "bg",
"active": true,
"sort_number": 2,
"created_at": "2025-05-15 12:00:00",
"updated_at": "2025-05-15 12:00:00"
}
]
[Adm.] Show
Show a single Language
by id
.
Definition
GET
/api/administration/languages/{language}
Example Request
$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('GET', '/api/administration/languages/ar-SA', [
'headers' => ['Authorization' => "Bearer {accessToken}"]
]);
Example Response
{
"id": "ar-SA",
"locale": "ar",
"active": true,
"sort_number": 1,
"created_at": "2025-05-15 12:00:00",
"updated_at": "2025-05-15 12:00:00"
}
Update
Update an existing Language
by id
.
Definition
PUT
/api/administration/languages/{language}
Request Keys
active
boolean
Whether the Language
is active.
sort_number
integer
The sort order for display.
Example Request
$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('PUT', '/api/administration/languages/ar-SA', [
'headers' => ['Authorization' => "Bearer {accessToken}"],
'json' => [
'active' => false,
'sort_number' => 2
]
]);
Example Response
{
"status": "success",
"data": {
"id": "ar-SA",
"locale": "ar",
"active": false,
"sort_number": 21,
"created_at": "2025-05-15 12:00:00",
"updated_at": "2025-05-15 12:30:00"
}
}
Last updated