README: drop the Translations section

This commit is contained in:
Frederic Jung 2026-10-27 18:27:29 +01:00
parent c557bb554b
commit 5b5e011f69
No known key found for this signature in database

View file

@ -58,16 +58,6 @@ npm run build # writes the site for GitHub Pages to _site/, with version and da
npm run i18n:check # lists text missing from (or stale in) the translations
```
## Translations
Player-facing text is keyed by label, and English is a dictionary like the others. Code says
`tr('pnis.ready_in_about_n_days', {n})` (or `trn('save.n_pop', n)` for plurals); static markup uses
`data-i18n="label"`. The English is in `src/i18n/en.js`, inlined into the page; each other language is
a `site/i18n/<lang>.js` file mapping the same labels to its text, plus an entry in `SOT_LANGS` (the
language loader in `src/index.html`). Missing translations fall back to English, so new text never
breaks the game; `npm run i18n:check` lists what needs translating, and the tests make sure every
translation keeps its `{placeholders}`, HTML tags and plural forms.
## Community
Come hang out in the **[Series of Tubes Signal group](https://signal.group/#CjQKIJwvEt5fYt1pvw7J2pV664CyUyGJXmAJLV8ia3nUdAD7EhA_FzdxflEzkNmcvDHdVgLQ)**. Share screenshots of your