RUAL Documentation

POST /language/{lang}/{key}

Create a new language translation key

Create a new language translation key
Key Type Example Description
lang required string
"example-string"
key required string
"example-string"
Key Type Example Description
authorization required string
"Bearer access_token"
Access token
Key Type Example Description
value optional string
"example-string"
{ "_meta": { "guid": "example-string", "entity": 42, "created": 42, "updated": 42, "update_hash": "example-string" }, "language": "example-string", "key": "example-string", "translation": "example-string" }
{ "error": "INVALID_ACCESS_TOKEN", "code": 401 }
Status Error Code Description
401 INVALID_ACCESS_TOKEN Authentication required or invalid token
403 INSUFFICIENT_PERMISSIONS Insufficient permissions for this operation
Permission Description
Bearer token Access token required via Authorization header, x-authtoken, x-token, query param, or cookie
language_create Required scope: language_create

Back to Languages Return to the Languages category to view other endpoints All API Categories Browse all available API categories