languages are displayed in lowercase in the Language Selector Portlet

Issue

  • When I configure the Language Selector Portlet display template to "Long Text", the languages are presented in lowercase. For example, English. I would like to set it to be capitalized like "English".
  • Reproduction Steps:
    1. Set up DXP 7.3
    2. Go to Control Panel --> Site Builder and add a widget page
    3. Place a Language Selector Portlet on the Page by clicking on the add application "+" on the upper right.
    4. Click to the Portlet's 3 dot menu and select "Configuration"
    5. At the Setup --> DISPLAY SETTINGS --> Display Template drop-down menu select "Long Text" then save.
    6. Go to the Page and observe how the languages are displayed.
      • Result: The languages are displayed in lowercase.

Environment

  • Liferay DXP 7.3
  • Liferay DXP 7.2

Resolution

Was this article helpful?
0 out of 0 found this helpful