עדכון או החלפת בוחר מיקום כותרת עבור כותרת Discourse חדשה (widgets-end-of-life) – האם יש תמיכה מובנית?

Hello everyone,

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:

[Admin Notice] Theme ‘Header Locale Selector’ contains code which needs updating. (id:discourse.widgets-end-of-life)

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?

Component Repository:

github.com

GitHub - Ahmedgagan/header-locale-selector

I appreciate any advice, suggestions, or direct help. Thank you very much!

hi there. I believe that theme component is currently broken.

לייק 1

תודה על העדכונים הקודמים. באופן ספציפי:

  1. האם ישנן תצורות מנהל מובנות שיכולות לתמוך ישירות בפונקציונליות של החלפת שפה שהמתג של הלוקאל בכותרת סיפק? לדוגמה, הגדרות בממשק הניהול של Discourse שעשויות לאפשר חווית משתמש דומה ללא צורך בפיתוח מותאם אישית?
  2. אם אפשרויות מובנות מוגבלות, אילו תוספים או שינויים מותאמים אישית מומלצים על ידי הקהילה ליישום מתג שפה בכותרת? ראיתי דיונים על אתרים רב-לשוניים והעדפות שפה בעת ההרשמה, אך אני מעוניין במיוחד בפתרונות שהם:
    • תואמים לגרסאות האחרונות של Discourse ולווידג’טים החדשים בכותרת.
    • ידידותיים למשתמש ונגישים.
    • יעילים לטיפול במספר שפות בצורה חלקה.
  3. תובנות או פתרונות עוקפים מאלה שכבר התמודדו עם שינוי זה יתקבלו בברכה. לדוגמה, האם ישנם רכיבי ערכת נושא (theme components) או הרחבות אחרות שיכולות לחקות פונקציונליות זו?

I guess this is overkill: Content Localization - Manual and Automatic with Discourse AI

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 .

לייק 1

ובכן, כותרת שפת הלוקליזציה החדשה של התוכן אמורה לעבוד בסדר. ההגדרות הן:

  • לוקליזציות תוכן נתמכות
  • מחליף שפות ללוקליזציית תוכן

הן אינן זקוקות ל-AI כדי לפעול.

לייק 1

That’s awesome. Does that mean that those settings replace GitHub - Ahmedgagan/header-locale-selector? If so, maybe update that other topic?

לייק 1