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

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

投稿者

Adrienne Lao

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

legacy-article

learn-legacy-article-disclaimer-text

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