2 Commits
Author SHA1 Message Date
MrAlders0n 88918db48c perf(i18n): load only the active language
English stays in the main bundle as the fallback; French and Swedish become
their own chunks, fetched by an i18next backend the first time they're used.
The runtime-env chunk drops from 147.00 kB (43.93 kB gzip) to 83.37 kB
(27.51 kB gzip). The picker's native names come from the catalogs at build
time, so listing a language doesn't load it.

changeLanguage() loads the catalog before it switches, so the UI goes from one
complete language to the next. A saved non-English choice delays the first
render until its catalog is in rather than painting English and switching.

App: no change; it ships its locales as bundled assets read from rootBundle
and has no web image.
2026-10-27 15:25:31 -04:00
MrAlders0n 7a9770e713 v2.0.0 (#141) 2026-10-02 22:38:54 -04:00