legacy-knowledge-base
公開されました Sep. 10, 2025

Configuring Site Locales Using Site Initializer site-settings.json File

written-by

Tímea Bihari

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

Issue

  • How can I configure site locales using the site-settings.json file within the Site Initializer framework?

 

Environment

  • Liferay DXP 7.4+

 

Resolution

  • Currently, the Site Initializer framework doesn't support setting enabled locales.
  • The locales enabled for a site are stored inside the Group_  table in the typeSettings column and it’s not a configuration used in the configuration framework.
  • When a new site (group) is created through the UI it automatically defaults to inheriting the locales set for the instance.

Additional Information

  • The following Blog entry from our Community site contains some examples of building site initializers including locale tags (not via json files): Site Initializers 101
did-this-article-resolve-your-issue

legacy-knowledge-base