# Discourseの新ヘッダー（widgets-end-of-life）向けヘッダーロケールセレクターの更新または置換 – 組み込みサポートは利用可能か？

**URL:** https://meta.discourse.org/t/update-or-replace-header-locale-selector-for-new-discourse-header-widgets-end-of-life-is-built-in-support-available/382615
**Category:** Support
**Created:** [2025 年 9 月 15 日午前 1:38 UTC](https://meta.discourse.org/t/update-or-replace-header-locale-selector-for-new-discourse-header-widgets-end-of-life-is-built-in-support-available/382615 "2025-09-15T01:38:32Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Evie\_Tao](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/evie_tao/32/487964_2.png) [@Evie\_Tao](https://meta.discourse.org/u/Evie_Tao)
#### Post date: [2025 年 9 月 15 日午前 1:38 UTC](https://meta.discourse.org/t/update-or-replace-header-locale-selector-for-new-discourse-header-widgets-end-of-life-is-built-in-support-available/382615/1 "2025-09-15T01:38:32Z")

</div>

こんにちは皆さん、

現在、Discourseフォーラムで[header-locale-selectorコンポーネント](https://github.com/Ahmedgagan/header-locale-selector)を使用して、ユーザーがヘッダーから簡単に言語を切り替えられるようにしています。最近、以下の管理者に通知を受け取りました。

> [管理者通知] テーマ「Header Locale Selector」には、更新が必要なコードが含まれています。(id:discourse.widgets-end-of-life)

Discourseがレガシーウィジェットレンダリングシステムを廃止しており、このコンポーネントを新しいGlimmerコンポーネントシステムで動作するように更新する必要があることは理解していますが、EmberやGlimmerの経験がないため、コミュニティにこのコンポーネントの更新または代替案の提案を支援していただければ幸いです。

**質問:**

- Discourse Coreに同様の言語セレクター機能が追加されたか、またはユーザーがヘッダーでインターフェース言語をすばやく変更できる公式にサポートされている方法はありますか？
- この機能を提供し、新しいヘッダーシステムと互換性のある、積極的にメンテナンスされているテーマコンポーネントはありますか？
- 更新または書き直しが必要な場合、移行ガイド、コード例、またはコードの更新やプルリクエストの提供に協力してくれる人はいますか？

**コンポーネントリポジトリ:**

[github.com](https://github.com/Ahmedgagan/header-locale-selector)

 ![](https://global.discourse-cdn.com/meta/original/4X/2/9/e/29e7f4841f5b0461ff37816dd65366915dca2d0b.png)

### [GitHub - Ahmedgagan/header-locale-selector](https://github.com/Ahmedgagan/header-locale-selector)

アドバイス、提案、または直接的な支援をいただけると幸いです。どうもありがとうございます！

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2025 年 9 月 15 日午前 2:12 UTC](https://meta.discourse.org/t/update-or-replace-header-locale-selector-for-new-discourse-header-widgets-end-of-life-is-built-in-support-available/382615/2 "2025-09-15T02:12:08Z")

</div>

こんにちは。このテーマコンポーネントは現在壊れていると思われます。

> [@Header Locale Selector](https://meta.discourse.org/t/header-locale-selector/240697):
>
> information_sourceSummary Header Locale Selector adds a language selector for the users to the site header.eyeglassesPreview [Preview on theme-creator.discourse.org](https://discourse.theme-creator.io/theme/Ahmed_Gagan/header-locale-selector)hammer_and_wrenchRepository Link [GitHub - Ahmedgagan/header-locale-selector](https://github.com/Ahmedgagan/header-locale-selector)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component This theme component adds an available language drop-down to the site header. It will be very helpful for the user’s…

---

<div class="post-metadata">

### Author: ![Evie\_Tao](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/evie_tao/32/487964_2.png) [@Evie\_Tao](https://meta.discourse.org/u/Evie_Tao)
#### Post date: [2025 年 9 月 15 日午前 3:36 UTC](https://meta.discourse.org/t/update-or-replace-header-locale-selector-for-new-discourse-header-widgets-end-of-life-is-built-in-support-available/382615/3 "2025-09-15T03:36:39Z")

</div>

以前のアップデートについて、ありがとうございます。具体的には以下の点についてお伺いします。

1. **ヘッダーのロケールセレクターが提供していた言語切り替え機能を直接サポートする、組み込みの管理者設定はありますか？** 例えば、カスタム開発を必要とせずに同様のユーザーエクスペリエンスを可能にする、Discourse の管理者インターフェース内の設定などです。
2. 組み込みオプションが限られている場合、 **ヘッダーに言語スイッチャーを実装するためにコミュニティで推奨されているプラグインやカスタムモディフィケーションは何ですか？** 多言語サイトや登録時の言語設定に関する議論は拝見しましたが、特に以下の要件を満たすソリューションに興味があります。
  - 最新の Discourse バージョンおよび新しいヘッダーウィジェットとの互換性があること。
  - ユーザーフレンドリーでアクセスしやすいこと。
  - 複数の言語をシームレスに処理するのに効果的であること。

3. **この変更に既に対処した方々からの洞察や回避策があれば、大変感謝いたします。** 例えば、この機能を模倣できるテーマコンポーネントやその他の拡張機能はありますか？

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2025 年 9 月 15 日午後 4:52 UTC](https://meta.discourse.org/t/update-or-replace-header-locale-selector-for-new-discourse-header-widgets-end-of-life-is-built-in-support-available/382615/4 "2025-09-15T16:52:25Z")

</div>

> [@Evie\_Tao](#):
>
> ヘッダーのロケールセレクターが提供する言語切り替え機能を直接サポートする、組み込みの管理者設定はありますか？

これはやりすぎだと思います: [Content Localization - Manual and Automatic with Discourse AI](https://meta.discourse.org/t/content-localization-manual-and-automatic-with-discourse-ai/370969)

現在の標準に合わせてそのテーマコンポーネントを再作成するのはそれほど難しくないはずですが、誰もそれを実行しておらず、関心の急増も見られないようです。予算がある場合は、#Marketplace で質問できます。

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [2025 年 9 月 16 日午後 12:38 UTC](https://meta.discourse.org/t/update-or-replace-header-locale-selector-for-new-discourse-header-widgets-end-of-life-is-built-in-support-available/382615/5 "2025-09-16T12:38:21Z")

</div>

新しいコンテンツのローカライゼーション言語ヘッダーは正常に機能するはずです。設定は次のとおりです。

- コンテンツのローカライズ対応ロケール
- コンテンツのローカライズ言語スイッチャー

これらは機能するためにAIを必要としません。

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2025 年 9 月 16 日午後 5:31 UTC](https://meta.discourse.org/t/update-or-replace-header-locale-selector-for-new-discourse-header-widgets-end-of-life-is-built-in-support-available/382615/6 "2025-09-16T17:31:34Z")

</div>

素晴らしいですね。それは、それらの設定が [GitHub - Ahmedgagan/header-locale-selector](https://github.com/Ahmedgagan/header-locale-selector) を置き換えるということですか？もしそうなら、そのトピックも更新した方が良いかもしれません。

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [2025 年 11 月 4 日午前 11:05 UTC](https://meta.discourse.org/t/update-or-replace-header-locale-selector-for-new-discourse-header-widgets-end-of-life-is-built-in-support-available/382615/7 "2025-11-04T11:05:52Z")

</div>


