Evie_Tao is seeking help to update or replace the deprecated header-locale-selector theme component, which is incompatible with Discourse’s new Glimmer-based header system. They ask whether built-in admin settings or alternative plugins can provide similar language-switching functionality in the header. Lilly confirms the component is currently broken. In reply, Evie_Tao clarifies they’re looking for officially supported, user-friendly, and multi-language-compatible solutions that integrate with the new header and latest Discourse versions. pfaffman suggests the built-in Content Localization feature may suffice, though it’s not a direct replacement. nat confirms the new Content Localization header works well and requires enabling ‘Content Localization Language Switcher’ and supported locales in settings. pfaffman follows up, asking if this built-in feature makes the old theme component obsolete. The community suggests leveraging Discourse’s native Content Localization as the recommended path forward.
I am currently using the header-locale-selector component on my Discourse forum to provide users with an easy way to switch languages from the header. Recently, I received the following admin notice:
I understand that Discourse is deprecating the legacy widget rendering system and that this component would need to be updated to work with the new Glimmer components system. Unfortunately, I do not have experience with Ember or Glimmer, and I would appreciate help from the community to either update this component or suggest alternatives.
My questions:
Has similar language selector functionality been added to Discourse Core or is there an officially supported method for letting users quickly change their interface language in the header?
Are there any actively maintained theme components that provide this feature and are already compatible with the new header system?
If an update or rewrite is necessary, are there migration guides, code examples, or perhaps someone willing to help provide a code update or pull request?
האם ישנן תצורות מנהל מובנות שיכולות לתמוך ישירות בפונקציונליות של החלפת שפה שהמתג של הלוקאל בכותרת סיפק? לדוגמה, הגדרות בממשק הניהול של Discourse שעשויות לאפשר חווית משתמש דומה ללא צורך בפיתוח מותאם אישית?
אם אפשרויות מובנות מוגבלות, אילו תוספים או שינויים מותאמים אישית מומלצים על ידי הקהילה ליישום מתג שפה בכותרת? ראיתי דיונים על אתרים רב-לשוניים והעדפות שפה בעת ההרשמה, אך אני מעוניין במיוחד בפתרונות שהם:
תואמים לגרסאות האחרונות של Discourse ולווידג’טים החדשים בכותרת.
ידידותיים למשתמש ונגישים.
יעילים לטיפול במספר שפות בצורה חלקה.
תובנות או פתרונות עוקפים מאלה שכבר התמודדו עם שינוי זה יתקבלו בברכה. לדוגמה, האם ישנם רכיבי ערכת נושא (theme components) או הרחבות אחרות שיכולות לחקות פונקציונליות זו?
It shouldn’t be too hard to re-make that theme component according to current standards, but no one has done it and it looks like there hasn’t been a surge of interest. If you’ve got a budget you could ask in Marketplace .