Legacy Knowledge Base
Published Jul. 2, 2025

Default language in DDL is not following instance setting

Written By

Amit Tiwari

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

Steps to reproduce:

  1. Go to Control Panel > Configuration > Instance Settings > Miscellaneous > Default Language (change it to Spanish (Spain)); 
  2. Go to Content > Dynamic Data Lists > Click in the ellipses in the right corner (Manage Definitions);
  3. Click in the Plus icon to add a New Data Definition > Fill the name "My New Data Definition";
  4. Add a Text Field by drag and drop;
  5. Observe that the default language flag is shown as Spanish (Spain) (as EXPECTED);
  6. Save;
  7. Return to Content > Dynamic Data Lists > click to add a new List > Fill the name "My New List";
  8. Select the Data Definition previously created "My New Data Definition";
  9. Observe that the default language flag is shown as Spanish (Spain) (as EXPECTED);
  10. Save;
  11. Return to Content > Dynamic Data Lists > click in the list previously created "My New List";
  12. Click to add a new record to this list;
  13. Observe that the default language flag is shown in English (US) (NOT EXPECTED).

Expected result:

The Locale language should be reflected when filling a Dynamic Data List record according to the Default Current Language.

Actual result:

The Locale language is not being reflected when filling a Dynamic Data List record even after changing the Default Current Language.

Environment

  • Liferay DXP 7.1

Resolution

  • The observed behavior is verified and had been fixed in fix-pack 18 and higher versions.
  • If the hotfix is required for this issue, please create a support ticket requesting the hotfix by attaching the patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install the Fixpack/Hotfix in your environment.

Additional Information

  • LPS-91185
  • Be sure to backup your Liferay DXP installation and database regularly, especially before patching.
  • Try the above activity in a lower environment first, if all works well, then move to the production environment as per your discretion.
  • Perform these operations in application server downtime, because these steps require the restart of the server.
Did this article resolve your issue ?

Legacy Knowledge Base