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

How to call <cq:setContentBundle> tags for sightly component with basename attribute

Avatar

Level 4

Hi All,

In our implementation we wanted values for i18n node would only be picked from i18n folder which is present inside our apps folder. For achieving this we have added basename attribute to content bundle tag call.

<cq:setContentBundle basename="pearson-dot-com"/> (in our global.jsp) . This approach I got from this forum lin http://www.wemblog.com/2011/12/how-to-use-multi-language-translation.html in comments section.

How can we do the same for sightly components?

Thanks!

Shehjad

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Checkout this article - http://docs.adobe.com/content/docs/en/aem/6-0/develop/sightly.html#Internationalization

It explains how you can use internationalization concept in sightly components.

- Runal

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Checkout this article - http://docs.adobe.com/content/docs/en/aem/6-0/develop/sightly.html#Internationalization

It explains how you can use internationalization concept in sightly components.

- Runal