List every language the core has a catalogue for, not only the started ones #45

Merged
tiagoagueda merged 1 commit from langs-every-catalogue into main 2026-10-23 09:51:26 +00:00
Owner

Follows postulo/postulo-chromium#43 (#44).

What changed

  • scripts/languages.py lists every language the core has a catalogue for (status.json), started or not, instead of only those with a translation. Every component scaffolds all the core's languages, and the Thunderbird extension already listed them all; this one lagged both.
  • src/lib/languages.js, regenerated from the core's main: 85 languages (84 catalogues plus English), up from 58.
  • 27 new catalogues, each {}: af ak am bm ee ff ha ig kab ln mg nr ny om rw sn so ss st ti tn ts ve wo xh yo zu. Weblate fills them; the build leaves a catalogue out of the package until it is complete, so none ships half-done.

Tests

  • npm test: 184 passed.
  • npm run build: both targets.
  • npm run lint:firefox: 0 errors, 0 warnings.
  • python scripts/languages.py --check against the core's main: matches.

The Weblate component's language_regex lists the folders by name; it needs these 27 added once this is merged.

🤖 Generated with Claude Code

Follows postulo/postulo-chromium#43 (#44). ## What changed - `scripts/languages.py` lists every language the core has a catalogue for (`status.json`), started or not, instead of only those with a translation. Every component scaffolds all the core's languages, and the Thunderbird extension already listed them all; this one lagged both. - `src/lib/languages.js`, regenerated from the core's `main`: 85 languages (84 catalogues plus English), up from 58. - 27 new catalogues, each `{}`: `af` `ak` `am` `bm` `ee` `ff` `ha` `ig` `kab` `ln` `mg` `nr` `ny` `om` `rw` `sn` `so` `ss` `st` `ti` `tn` `ts` `ve` `wo` `xh` `yo` `zu`. Weblate fills them; the build leaves a catalogue out of the package until it is complete, so none ships half-done. ## Tests - `npm test`: 184 passed. - `npm run build`: both targets. - `npm run lint:firefox`: 0 errors, 0 warnings. - `python scripts/languages.py --check` against the core's `main`: matches. The Weblate component's `language_regex` lists the folders by name; it needs these 27 added once this is merged. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
List every language the core has a catalogue for, not only the started ones
All checks were successful
CI / check (pull_request) Successful in 36s
2319f08136
Every component scaffolds all the core's languages; the extension listed only those with a
translation, so it lagged the core and the Thunderbird extension, which lists them all. 27
more languages, each an empty catalogue for Weblate to fill; the build leaves a catalogue out
of the package until it is complete.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tiagoagueda deleted branch langs-every-catalogue 2026-10-23 09:51:26 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo-chromium!45
No description provided.