Legacy Knowledge Base
Published Jun. 30, 2025

Categories translated to a new language do not show the updated language despite setting the language in Account Settings

Written By

Adrienne Lao

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • We've found that when using the 'Multi Column Layout' widget template and setting the Language section on a category filter to French (ex: fr_Fr) it reverts back to 'en_US'. 
  • This occurs even when the Account Settings for a user are altered to French.
  • Steps to reproduce:
    1. Create a vocabulary with at least one other localization.
    2. Add a category to it with at least one other localization.
    3. Add the category filter widget to a widget page and configure it to display the category using the Multi Column Layout template.
    4. Configure the language on the category filter to French and Save.

Environment

  • DXP 7.4+

Resolution

  • The root cause is within the Multi Column Layout widget template. The workaround is to change the default template.
    • Navigate to the global scope menu > Template > Widget Template > Multi Column Layout.
    • Change line 45 from:
    • <a ref="${categoryURL}">${category.getName()}</a>
    • to:
    • <a href="${categoryURL}">${category.getTitle(themeDisplay.getLocale())}</a>

 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base