You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Platform UI internationalization — admin interface is English-only #80
EmDash has solid content-level i18n (per-locale rows, fallback chains, LocaleSwitcher, etc.), but the platform's own UI — admin labels, error messages, toasts, dialogs — is all hardcoded in English with no abstraction layer.
Non-English-speaking site owners get a split experience: content in any language, but the admin is always English.
What exists today
~1,500–2,000 hardcoded English strings across admin UI (~80%) and API handlers (~20%)
No i18n library, no message catalog, no t() function
Error codes exist (300+) but no message mappings — each handler writes its own string
Precedent
Strapi uses react-intl with ~848 keys across 34 languages. Payload CMS uses a custom t() with ~660 keys across 27. Ghost and Keystone haven't done this yet — EmDash doing it early would be a differentiator.
Library options
react-i18next
Lingui
react-intl
Downloads/wk
9.6M
180K
1.2M
Bundle (gzip)
~18.5 KB
~2 KB runtime
~17 KB
Strength
Ecosystem, namespaces, lazy loading
Smallest bundle, Vite plugin
ICU standard, Strapi uses it
Trade-off
Largest bundle
Build tool integration needed
Less flexible lazy loading
Architecture fit
The admin provider stack (ThemeProvider → Toasty → PluginAdminProvider → QueryClient → Router) is clean — an I18nProvider slots in at the top with no conflicts. No global state library to fight.
Proposed rollout
To avoid a massive diff, I'd break it into incremental PRs:
Infra — i18n setup, English catalog, provider
API messages — handler error messages → catalog keys
Admin UI — module by module (Settings, Content, Media, etc.)
First translation — second language (e.g. Korean) to validate the pipeline
Questions
Is this a direction you'd want to go?
Library preference?
Should admin locale be independent of content locale?
Should plugins be able to register their own translation keys?
Happy to do the work — just want to align on approach first. 😄
Reacted by tsukumi, Alexandre Peter, André Glazastov, Matt Cromwell, Márcio Duarte and Satoshi Takata
I think this could extend naturally beyond the admin UI into a project-wide i18n strategy
I opened PR #109 adding pt-br to demos, fixture config, and docs as a small, non-breaking step to validate how locales are currently wired outside the admin
Given that this issue proposes introducing an i18n layer for the admin and API, do you see value in aligning that with a broader approach that also covers:
demos
documentation
content structure
routing per locale (if applicable)
My concern is avoiding two parallel i18n approaches (one for admin/UI and another for content/demos)
Happy to adapt the PR depending on the intended direction
Activity
Glazastyy commentedon Apr 2, 2026
I think this could extend naturally beyond the admin UI into a project-wide i18n strategy
I opened PR #109 adding
pt-brto demos, fixture config, and docs as a small, non-breaking step to validate how locales are currently wired outside the adminGiven that this issue proposes introducing an i18n layer for the admin and API, do you see value in aligning that with a broader approach that also covers:
My concern is avoiding two parallel i18n approaches (one for admin/UI and another for content/demos)
Happy to adapt the PR depending on the intended direction