mirror of
https://github.com/mattermost/mattermost.git
synced 2026-11-28 15:38:27 +08:00
* Automate translation runs for the monorepo's catalogs A translation run brings every webapp and server catalog up to date with en.json and produces one pull request, run by an agent following the translate-i18n skill, attended or not (MM-72296). - i18n/scripts: describe missing keys, list new strings for the glossary, plan each locale's work since its baseline in slices that keep features whole, validate answers until nothing remains, and finalize all or nothing - existing translations are reused for reworded, renamed and identical strings, and old defects are offered for repair at the translator's call - check_changes.mjs holds every pull request's translations to the rules, requires a description on each new en.json key, and holds a run to its plan - i18n/README.md explains the pipeline; i18n/AGENTS.md is the agents' brief * fixup! Automate translation runs for the monorepo's catalogs * fixup! Automate translation runs for the monorepo's catalogs * fixup! Automate translation runs for the monorepo's catalogs * fixup! Automate translation runs for the monorepo's catalogs * Leave the glossary check to the orchestrator, not each parallel agent * Keep each locale's own note when locales note the same string differently * Keep a feature's keys in one slice even when they are not adjacent * Restore the catalogs when finalize cannot write its report * Give the test's commit-tree a Git identity of its own * Tell contributors to remove a wrong translation for the next run, not rewrite it * Match renames only to keys en.json gained since the baseline * Test that validation refuses an acknowledged error, an unknown field and a non-object payload --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>