glossary

Validate Translation

Stateless check of a translation against the project glossary + ICU placeholder parity + length. Returns structured violations (empty = valid). Read-only; designed for inline editor calls.

post/v1/projects/{project_id}/glossary/validate

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/projects/{project_id}/glossary/validate
  • Auth: none declared

Path parameters

project_idstring required

Request body

language_codestring required

target language of the translation being checked

source_valuestring
target_valuestring
max_lengthinteger nullable

optional length cap (e.g. the key's max_length)

Response

Successful Response

validboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.