legacy-knowledge-base
公開されました Jun. 30, 2025

"Prefix" does not save when switching between "Languages" for a User

written-by

Adrienne Lao

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

  • When editing the "Language" selection for a User the "Prefix" does not always save the pre-selected response.
    • Example:
      • Set the "Prefix" to "Mr" and "Language" to "English" for a User and click Save.
      • Change the "Language": "English" to another language where "Mr" is not the same (France is "M"), the pre-selected equivalent does not save and the "Prefix" category is left blank.

Environment

  • DXP 7.0+
  • Quarterly Release

Resolution

  • Unfortunately, automatic conversions for prefixes are not an option because the prefix may not be the same between different languages and/or the prefix may exist in another language but does not exist in a different language. 
  • There is a workaround that can be enabled if the interchanging of prefixes in other languages is necessary.
    • You can add a modelListener to the User creation and/or update the prefix information by getting the language key of the prefix for the different languages.

 

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base