Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Where is languageRoots configured on AEM6.5?

Avatar

Level 5

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

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 5

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.