legacy-knowledge-base
公開されました Jul. 2, 2025

ユーザー構成から英語を削除する方法

written-by

Rafael Regner

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • portal-ext.properties ファイルでこれらのプロパティを設定します。
    company.default.locale=es_ES
    locales=es_ES
    locales.enabled=es_ES
  • サーバーを再起動します

  • 次に、 コントロール パネル > ユーザーと組織 > 編集 に移動しますが、英語はまだ利用可能です。

  • スペイン語のみを利用できるようにしてほしい。

Environment

  • Liferay DXP 7.3

解決策

  • 次のシステム プロパティを追加することで、英語のオプションを完全に削除できます。

    user.country=ES
    user.language=es

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base