4 Commits

Author SHA1 Message Date
jj c4732aacde devutils/i18n: add forage command (#1944)
forages for strings that were already translated in the past within
chromium and adds them to the translations, effectively reducing effort
for review
2026-06-15 16:00:14 +02:00
wukko 11d1698665 devutils/i18n: add an option to translate using local CLI tools (#1942)
allows for translations using CLI tools like codex, opencode, claude,
and etc.

these CLI tools are run in a temporary directory to prevent agentic tool
usage. you must pass restrictive arguments if you use this option
yourself.
2026-06-14 13:01:01 +00:00
jj 5b7dd06c6f devutils/i18n: add clean command (#1869) 2026-06-05 19:23:15 +02:00
jj b0395c7ecd devutils, utils: implement i18n pipeline (#1265)
rough sketch of the pipeline:
- generic + platform patches -> `devutils/i18n generate` ->
`i18n/source.gen.json` ("source of truth" for translations)
- `i18n/source.gen.json` -> `devutils/i18n translate` -> machine
translations generated into `i18n/translations/{lang}.json`
- those should be reviewed and fixed up by representative community
members that actually speak the corresponding language
- `i18n/source.gen.json` + `i18n/translations/*` -> `utils/i18n_apply`
-> fingerprints source strings and applies translations into XTB files

fixes #1109
2026-04-13 17:39:11 +02:00