Where is languageRoots configured on AEM6.5? | Adobe Higher Education
Skip to main content
Level 6
March 18, 2022
Resuelto

Where is languageRoots configured on AEM6.5?

  • March 18, 2022
  • 1 respuesta
  • 1186 visualizaciones

I have a new language it.json in the app and the translation for it is not being picked up in 

ResourceBundle resourceBundle = slingRequest.getResourceBundle(locale);

The resourceBundle does not have this custom it.json in its languageRoots. Is there something else I have to do on AEM to configure this new location for it.json?

 

JcrResourceBundle [locale=it, baseName=null, languageRoots=[/libs/granite/i18n/it.json, /libs/fd/i18n/it.json, /libs/wcm/core/i18n/it.json], parent=JcrResourceBundle [locale=en, baseName=null, languageRoots=[/libs/cq/searchpromote/components/pagination/i18n/en, /libs/social/subscriptions/components/hbs/subscriptions/i18n/en, /libs/foundation/components/search/i18n/en, /libs/foundation/components/mobilefooter/i18n/en, /libs/commerce/components/search/i18n/en, /libs/social/commons/components/hbs/comments/i18n/en], parent=org.apache.sling.i18n.impl.RootResourceBundle@266b232e]]

Este tema ha sido cerrado para respuestas.
Mejor respuesta de Pallavi_Shukla_

Is the new locale you are using listed at etc/languages location

 

There is no change in i18n location with 6.5

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/etc-languages-restructuring-in-aem/td-p/408457

1 respuesta

Pallavi_Shukla_
Community Advisor
Community Advisor
March 19, 2022

Is the new locale you are using listed at etc/languages location

 

There is no change in i18n location with 6.5

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/etc-languages-restructuring-in-aem/td-p/408457

Level 6
March 21, 2022

Hi

http://localhost:4506/system/console/configMgr has it and fr listed in Guide Localization Service.supportedLocales.name

From what I understand from the article link you sent me only languages I would have to perform this step only if the <locale> I an adding is not among en, de, es, fr, it, pt-br, zh-cn, zh-tw, ja, ko-kr.

 

Thanks for your help @pallavi_shukla_ . It was some custom folder that I needed to copy.