Add French translation

Adds site/i18n/fr.js with all 2541 strings, registers Français in the
language list (picked automatically for fr-* browsers), caches it in the
service worker, and runs the full screen tour and the Signal-link check
in French in the tests.
This commit is contained in:
Eliot 2026-10-26 10:50:45 +00:00 • committed by SK0RPIA
parent c76dd4d556
commit fbfbf8deb3
8 changed files with 2558 additions and 5 deletions

View file

@ -44,7 +44,7 @@ open site/index.html # or: npm run serve
Progress is saved in your browser's local storage.
The game speaks English, Italian and Portuguese. It follows your browser's language the first time
The game speaks English, Italian, Portuguese and French. It follows your browser's language the first time
and remembers the one you pick under Settings or on the title screen.
## Development
@ -61,6 +61,7 @@ site/ everything that is deployed
index.html the whole game (HTML, CSS and JS in one file)
i18n/it.js Italian translation, loaded only when the game runs in Italian
i18n/pt.js Portuguese (Brazil) translation, loaded only when the game runs in Portuguese
i18n/fr.js French translation, loaded only when the game runs in French
images/og-image.png social preview (1200×630)
favicon.*, icon-* favicons, app icons, manifest
robots.txt, sitemap.xml, llms.txt, 404.html, CNAME