Update of vervang de Header Locale Selector voor de nieuwe Discourse Header (widgets-end-of-life) – Is ingebouwde ondersteuning beschikbaar?

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 like

Bedankt voor de vorige updates. Specifiek:

  1. Zijn er ingebouwde beheerdersconfiguraties die de functionaliteit voor taalkeuze die de header-lokalisatieselectie bood, direct kunnen ondersteunen? Bijvoorbeeld instellingen binnen de Discourse-beheerinterface die een vergelijkbare gebruikerservaring mogelijk maken zonder dat er aangepaste ontwikkeling nodig is?
  2. Als ingebouwde opties beperkt zijn, welke plugins of aangepaste wijzigingen worden dan door de community aanbevolen om een taalkiezer in de header te implementeren? Ik heb discussies gezien over meertalige sites en taalvoorkeuren tijdens registratie, maar ik ben vooral geïnteresseerd in oplossingen die:
    • Compatibel zijn met de nieuwste Discourse-versies en de nieuwe header-widgets.
    • Gebruiksvriendelijk en toegankelijk zijn.
    • Effectief zijn voor het naadloos afhandelen van meerdere talen.
  3. Alle inzichten of workarounds van degenen die deze wijziging al hebben aangepakt, zouden zeer op prijs worden gesteld. Zijn er bijvoorbeeld thema-componenten of andere extensies die deze functionaliteit kunnen nabootsen?

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 like

Hmm, de nieuwe header voor de lokalisatietaal van content zou prima moeten werken. Instellingen zijn:

  • Ondersteunde lokalisatie-talen voor content
  • Taalwisselaar voor contentlokalisatie

Ze hebben geen AI nodig om te functioneren.

1 like

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

1 like