Expand my Community achievements bar.

SOLVED

Where is languageRoots configured on AEM6.5?

Avatar

Level 7

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]]

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-restructurin...

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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-restructurin...

Avatar

Level 7

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.