Header and Footer in multilingual site

Avatar

Avatar

vhabuza

Avatar

vhabuza

vhabuza

22-07-2019

Hi everyone,

I'm using AEM 6.5 for creating multilingual site, but some thinks is steel not clear.
After building structure and impleneting footer and header component, I don't know right way, how to add different content to header or footer in different languages.

In my case  header and footer are part of some template, so all configuration is stored in /conf/.../header or /conf/.../footer respectively.

Is it possible somehow configure components differently for different languages? For example in footer add link A for language A, and link B for language B?

View Entire Topic

Avatar

Avatar

cal-netsolution

Avatar

cal-netsolution

cal-netsolution

23-07-2019

If you want to have different content for header and footer for different languages I would like to suggest this approach

1. create separate header and footer components

2. In the Basepage include the iparsys for header and footer sections, so all the child pages inheriting the basepage gets the ipasrsys sections for header and footer

3. Go to your language page, example you have EN/US, in US page, you can drag and drop the header and footer in the respective iparsys sections of header and footer

4. Edit the content in header and footer as per your langugage content

Therefore all the pages under US, will be inheriting the header and footer content as well. Similarly for other languages.

Hope this helps!

Cal