Glossary term translated onto every locale

Moses SkodaEngineer1 min read

The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/glossary-term-wildcard-translated. See Errors and status codes for the shape every error shares.

Cannot save "<text>". A translation onto every locale ("*") must keep the source text. Name one target locale, or mark the term non-translatable.

Fields#

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
textstring

Example#

json
{
  "detail": "Cannot save \"<text>\". A translation onto every locale (\"*\") must keep the source text. Name one target locale, or mark the term non-translatable.",
  "text": "<text>",
  "type": "https://lingo.dev/docs/api/errors/glossary-term-wildcard-translated",
  "status": 422,
  "title": "Glossary term translated onto every locale"
}

Returned by#

  • PATCH /v2/glossaries/{glossaryId}/terms/{id}
  • POST /v2/engines/{engineId}/glossary-terms/extract-from-vtt
  • POST /v2/glossaries/{glossaryId}/terms
  • POST /v2/glossaries/{glossaryId}/terms/create-many