sirius/i18n
Local Dev 08a0c8d33f feat(sirius-x): load the site in the reader's language, with a dropdown to switch
Visitors should not have to read English to register a name. The pages
stay authored in English; js/i18n.js picks the language from the saved
choice, ?lang=, or the browser, fetches i18n/<lang>.json (exact English
text -> translation) and rewrites text nodes, placeholders, titles and the
page title. A MutationObserver keeps script-built content (search rows,
register modal, portal rows, footer, profile menu) translated, so no page
script had to change. A dropdown in the top nav switches languages and
back to English losslessly. Code, hashes, addresses and record keys are
never touched. Ships German, Greek, Russian, Spanish, French and
Portuguese; the docs page keeps its English prose and only gains the
translated chrome.
2026-09-16 23:30:16 +02:00
..
de.json feat(sirius-x): load the site in the reader's language, with a dropdown to switch 2026-09-16 23:30:16 +02:00
el.json feat(sirius-x): load the site in the reader's language, with a dropdown to switch 2026-09-16 23:30:16 +02:00
es.json feat(sirius-x): load the site in the reader's language, with a dropdown to switch 2026-09-16 23:30:16 +02:00
fr.json feat(sirius-x): load the site in the reader's language, with a dropdown to switch 2026-09-16 23:30:16 +02:00
pt.json feat(sirius-x): load the site in the reader's language, with a dropdown to switch 2026-09-16 23:30:16 +02:00
ru.json feat(sirius-x): load the site in the reader's language, with a dropdown to switch 2026-09-16 23:30:16 +02:00