Traduction du terme du glossaire déjà utilisée
L’API renvoie 409 Conflict avec cette erreur. Son type est https://lingo.dev/docs/api/errors/glossary-term-translation-taken. Consultez Erreurs et codes de statut pour connaître la structure commune à toutes les erreurs.
Impossible d’enregistrer « <text> ». Le glossaire contient déjà la ligne correspondante pour « <targetLocale> ». Modifiez plutôt cette ligne ou changez le texte.
Champs#
Outre les membres standard type, status, title et detail, le corps contient les champs suivants. Le texte de detail est généré à partir de ces champs : un client peut donc afficher son propre texte à la place.
| Champ | Type |
|---|---|
text | string |
targetLocale | string |
Exemple#
json
{
"detail": "Cannot save \"<text>\". The glossary already holds its row for \"<targetLocale>\". Edit that row instead, or change the text.",
"text": "<text>",
"targetLocale": "<targetLocale>",
"type": "https://lingo.dev/docs/api/errors/glossary-term-translation-taken",
"status": 409,
"title": "Glossary term translation taken"
}Renvoyée par#
PATCH /v2/glossaries/{glossaryId}/terms/{id}POST /v2/glossaries/{glossaryId}/termsPOST /v2/glossaries/{glossaryId}/terms/create-many