validate_translations
Lint a JSON i18next blob against the project: checks for missing keys, extra keys, and placeholder parity ({var}, {{var}}, %{var}) vs the source language. Each placeholder_mismatches[] item carries expected / got plus missing (source variables absent from the translation) and extra (variables in the translation unknown to the source).
Paramètres
Section intitulée « Paramètres »| Nom | Type | Description | |
|---|---|---|---|
project_uuid | string | optionnel | Project UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise. |
language_code | string | requis | |
namespace | string | optionnel | Restrict to one namespace (default: all). |
payload | object | requis | The translation tree to validate. |
{ "tool": "validate_translations", "arguments": { "language_code": "<language_code>", "payload": {} }}