Highlighted

Editable template with multilingual

Avatar

Avatar

varuns46785756

Avatar

varuns46785756

varuns46785756

06-12-2018

Hi All,

I am using AEM6.4 and I have editable template in my application.Everything is working fine with editable template.Now I need to create multilingual pages.Currently I have English page, now I need to create Chinese page for the same.I am authoring header and footer on base-template in English.Please let me know what is the best approach to translate base-template in Chinese.

Regards,

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

06-12-2018

I believe you can find a lot of information about this subject in this Ask the AEM Community Experts here:

Scott's Digital Community: [Webinar |October] AtACE Session: Creating a site structure to support yo...

Hope this helps...

Avatar

Avatar

prajwalreddy

Avatar

prajwalreddy

prajwalreddy

23-01-2019

I have gone through the video but doesn't talk about the editable templates challenge for multilingual sites. As explained above, When we have header and footer as part of structure. We will not be able to edit the values in the component dialog in the editable template structure as the same would be referenced by multiple locale websites.

Use Case - Header Navigation needs to have some additional pages specific to locale.

Could you please confirm if we will be able to achieve the above use case using editable templates.

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

23-01-2019

I have asked the team to look here to specifically talk about editable templates

Highlighted

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

23-01-2019

Could you explain a bit more about the use case?

In we-retail, I can see '/apps/weretail/components/structure/header/include.html' has each element configured using i18n output. Wouldn't that serve the purpose for specific locale?

Highlighted

Avatar

Avatar

prajwalreddy

Avatar

prajwalreddy

prajwalreddy

23-01-2019

We are currently authoring the Paths for the navigation component and the same in included in the editable template structure.

For /US/EN we are good as we have the links that we need to configure.

For /CA/FR, We need to have an additional link in the navigation.

Now that we have the component dialog in the Editable templates structure, If we edit the dialog for /CA/FR, Same would impact in the /US/EN Path.

Highlighted

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

24-01-2019

I assume that your use case is something similar as mentioned in 'Live Copies - Composition' @ Reusing Content: Multi Site Manager and Live Copy

For navigation that is inside structure, you could take various approaches - you can still keep the navigation component inside structure and choose to save the dialog content on a different custom path (backed via Sling model). However, this approach would be a bit complex with overheads but still feasible. The other approach is to move navigation component out of structure and treat it as a normal component. That would solve all issues except that you would have to create another layout container in header for navigation component and fix/customize couple of things.

You may come up with a better approach and try that.

Highlighted

Avatar

Avatar

kamalc

Avatar

kamalc

kamalc

07-06-2019

Common Header and Footer with Editable Templates in multilingual site

Please see if the suggestions on this thread are helpful. Thanks!