Vlogerly logo

Locales now load only when needed

Published
IP

Iván Petrov

The admin app used to ship every locale's translation JSON in the entry bundle that loads on first paint. That meant the sign-in page was paying for both English and Spanish translations — about 70KB of strings for content the user would never see — before anything rendered.

Locales are now loaded lazily, each in its own async chunk that's fetched only when needed. The active locale lands first, others wait until the user actually switches.

As we add more languages, this approach scales — every new locale becomes a separate async chunk instead of inflating the entry bundle for everyone.

May 5, 2026

Activity feed

  • SL
    Sara Lindqvist

    Lazy locale loading saves real bandwidth for visitors who only need one language. A small change with measurable impact on the perf budget.

    May 6, 2026

    Replay