# ロケール切り替え時のエラー：全トピックで「トピックが存在しません」というメッセージが表示される

**URL:** https://meta.discourse.org/t/error-when-switching-locale-topic-doesnt-exist-message-appears-on-all-topics/400784
**Category:** Support
**Tags:** ai, dynaloc, bug
**Created:** [2026 年 4 月 16 日午前 11:57 UTC](https://meta.discourse.org/t/error-when-switching-locale-topic-doesnt-exist-message-appears-on-all-topics/400784 "2026-04-16T11:57:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Denis\_Kovalenko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denis_kovalenko/32/549496_2.png) [@Denis\_Kovalenko](https://meta.discourse.org/u/Denis_Kovalenko)
#### Post date: [2026 年 4 月 16 日午前 11:57 UTC](https://meta.discourse.org/t/error-when-switching-locale-topic-doesnt-exist-message-appears-on-all-topics/400784/1 "2026-04-16T11:57:05Z")

</div>

ログイン中に管理者として **ログインした状態で** 、任意のトピックのインターフェース言語を切り替えると、以下の永続的なエラーメッセージが表示されます。「テーマが存在しないか、アクセス権限がないため、プレビューに失敗しました。」通常のユーザーではこの問題は発生しません。

再現手順:

1. 管理者としてログインする

2. 任意のトピックを開く

3. 言語選択器を使用してロケールを切り替える

4. エラーメッセージが永続的（一時的ではない）に表示される

通常のユーザーアカウントではエラーは発生しません。

Discourse バージョン: 2026.1.3

 ![bug](https://global.discourse-cdn.com/meta/original/4X/7/b/5/7b54c8f2a0d329623bbac7432204ccdbf0fe26f6.png)

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [2026 年 4 月 16 日午後 2:11 UTC](https://meta.discourse.org/t/error-when-switching-locale-topic-doesnt-exist-message-appears-on-all-topics/400784/2 "2026-04-16T14:11:29Z")

</div>

同じ管理者ユーザーで、別のブラウザでもこの問題が発生しますか？

---

<div class="post-metadata">

### Author: ![Denis\_Kovalenko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denis_kovalenko/32/549496_2.png) [@Denis\_Kovalenko](https://meta.discourse.org/u/Denis_Kovalenko)
#### Post date: [2026 年 4 月 16 日午後 2:19 UTC](https://meta.discourse.org/t/error-when-switching-locale-topic-doesnt-exist-message-appears-on-all-topics/400784/3 "2026-04-16T14:19:07Z")

</div>

いいえ、Chrome のみです。この問題は今日だけ発生しました。確認しましたが、他のブラウザではこの問題は発生していません。

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [2026 年 4 月 16 日午後 2:28 UTC](https://meta.discourse.org/t/error-when-switching-locale-topic-doesnt-exist-message-appears-on-all-topics/400784/4 "2026-04-16T14:28:04Z")

</div>

ブラウザのアドレスバーに `?preview_theme_id=ID` が表示されたことはありますか？

このエラーメッセージは、間違った ID でテーマをプレビューしている場合にのみ表示されます。おそらく、このブラウザで過去にそのような操作を行い、その値が Chrome のタブやウィンドウに「固定」されたのでしょう。

---

<div class="post-metadata">

### Author: ![Denis\_Kovalenko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denis_kovalenko/32/549496_2.png) [@Denis\_Kovalenko](https://meta.discourse.org/u/Denis_Kovalenko)
#### Post date: [2026 年 4 月 16 日午後 2:58 UTC](https://meta.discourse.org/t/error-when-switching-locale-topic-doesnt-exist-message-appears-on-all-topics/400784/5 "2026-04-16T14:58:25Z")

</div>

問題が解決しました！Chrome ブラウザの URL にある古い `?preview_theme_id=6` パラメータが原因でした。これを削除するとエラーが消えました。ご指摘いただきありがとうございます！

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2026 年 5 月 16 日午後 2:59 UTC](https://meta.discourse.org/t/error-when-switching-locale-topic-doesnt-exist-message-appears-on-all-topics/400784/6 "2026-05-16T14:59:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
