Legacy Knowledge Base
Published 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

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.

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