Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Localization Error

Avatar

Level 4

Hi Team,

Am trying to access the Chinese site from the link http://mysite/content/zh_cn/home/microsites/bi/samplesite-cn/home.html.

But, the Chinese translation texts are not appearing properly. We are handling the localization using request.getresourcebundle(page,request,"text");

When i check the log for page-locale text; It shows the page locale as "bi". As you can notice from the link it picks bi as page-locale instead of zh_cn.

Please help me how can i handle this?

Thanks,

Madhu

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hey Madhu, Ideally, your site/microsite should be under the locale folder.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hey Madhu, Ideally, your site/microsite should be under the locale folder.