diff --git a/src/app/i18n.ts b/src/app/i18n.ts index 9e83805d3..9b79b5d72 100644 --- a/src/app/i18n.ts +++ b/src/app/i18n.ts @@ -19,6 +19,16 @@ i18n .init({ debug: false, fallbackLng: 'en', + // Lotus Chat is English-only for now: none of the Lotus-added UI (presence, + // calls, soundboard, decorations, seasonal settings, keyboard shortcuts help, + // etc.) is routed through useTranslation()/public/locales yet, so letting + // LanguageDetector pick a non-English browser locale produced a UI that was + // only partially translated (the ~11 upstream strings switched language, + // everything Lotus-added stayed English). Restricting supportedLngs keeps + // the detector/backend/mechanism intact (see LOTUS_FEATURES.md) so other + // languages can come back with a one-line change once Lotus strings are + // localized. + supportedLngs: ['en'], interpolation: { escapeValue: false, // not needed for react as it escapes by default },