curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/languages/{language} \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"translation": {},
"enabled": true
}
'{
"language": "<string>",
"translation": {},
"enabled": true
}Update or replace a language configuration. This will completely override any existing configuration. Empty translation object means ‘use default translations’.
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/languages/{language} \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"translation": {},
"enabled": true
}
'{
"language": "<string>",
"translation": {},
"enabled": true
}The language code to update
Successful response
Configuration for platform language and translations
Was this page helpful?