Skip to main content

Update Site Language Override

PATCH 

/v1/languages/overrides/site/:lang_code/:id

Update the Site Language Override with a specific ID.

Content-language IDs are numeric. Override IDs are constants matching [A-Z0-9_]+. The override write field is override, whereas responses use value. Override routes are generated for installed languages.

Saving an override reads app and lang_code from POST input. For POST, the API application puts route parameters into that input. For PATCH, route parameters are placed in the general input, so the client/language context is not guaranteed by the route and JSON body alone. Use the administrator override editor if PATCH cannot preserve the intended context.

Content-language lists use standard pagination. Override lists and string searches do not use the generic page[offset] and page[limit] slicing; check the operation-specific response. The base edit check requires core.manage and record core.edit, or core.edit.own with a matching owner; component overrides take precedence. Omitted SERVER_UTC/USER_UTC calendar values are restored from the stored UTC values after validation, avoiding a second timezone conversion.

Request​

Responses​

The updated Site Language Override.