# LC\_ALL/LANG/LANGUAGE = en\_US.UTF-8 は英語以外のサイトで正しいですか？

**URL:** <https://meta.discourse.org/t/lc-all-lang-language-en-us-utf-8-correct-for-non-english-sites/358494>\
**Category:** Self-hosting\
**Created:** [2025 年 3 月 23 日午後 1:00 UTC](https://meta.discourse.org/t/lc-all-lang-language-en-us-utf-8-correct-for-non-english-sites/358494 "2025-03-23T13:00:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 年 3 月 23 日午後 2:45 UTC](https://meta.discourse.org/t/lc-all-lang-language-en-us-utf-8-correct-for-non-english-sites/358494/2 "2025-03-23T14:45:45Z")

</div>

> <https://stackoverflow.com/questions/24773923/how-to-change-the-locale-of-an-existing-database>

DEの設定で新しいサーバーを作成し、そこにデータベースを復元することを提案します。

古いものを壊す前に新しいサイトが確実に動作することの安全性、そして古いOSが寿命に近づいている可能性が高いときに新しいOSに移行することに魅力を感じない場合は、バックアップを作成し、postgresファイルを削除し、ロケールを変更し、再構築して新しいデータベースを作成し、バックアップを復元することもできるでしょう。

編集：私は英語しか話せず、ロケールの複雑さについては特に専門家ではありませんが、検索が正しく機能することについてのあなたの懸念は、私にとって的を射ているように思えます。

---

_[View the full topic](https://meta.discourse.org/t/lc-all-lang-language-en-us-utf-8-correct-for-non-english-sites/358494)._
