Legacy Knowledge Base
公開されました Jun. 30, 2025

ローカライズ不可能な文書タイプのbooleanフィールドが切り替えられない(ロケールによる)

Written By

Sorin Pop

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 再現の手順 :
    1. 新しいドキュメント・タイプを作成し、それにブール値フィールドを付ける。
    2. スイッチとして表示」を有効にする
    3. 詳細」タブで「ローカライズ可能」を無効にする。
    4.
    5. ユーザーの言語(アカウント設定)をフランス語などに変更する。
    6. コンテンツ/ドキュメントとメディア」に戻り、そのタイプのドキュメントの作成を開始する。
    結果:ブーリアン・フィールドは無効になっており、切り替えることはできない。

環境

  • 7.4

解像度

  • これは意図された動作です: 確かに、フィールドをローカライズ不可能に設定した場合、インスタンス/サイト/ドキュメントタイプのデフォルト言語と同じ言語を持つユーザーがそのフィールドを視覚化したときのみ、そのフィールドは編集可能になります。 localizableが無効化されているため、他の翻訳は不可能であり、そのような場合、フィールドは無効化され、変更することができません。
    他のユーザー(他の言語)がこのフィールドを編集できるようにする唯一の方法は、ローカライズ可能に設定することです。
Did this article resolve your issue ?

Legacy Knowledge Base