Editable template with multilingual

Avatar

Avatar
Validate 25
Level 4
varuns46785756
Level 4

Likes

22 likes

Total Posts

146 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
Level 4
varuns46785756
Level 4

Likes

22 likes

Total Posts

146 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
varuns46785756
Level 4

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

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,410 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,410 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

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
Validate 1
Level 2
prajwalreddy
Level 2

Likes

5 likes

Total Posts

31 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
prajwalreddy
Level 2

Likes

5 likes

Total Posts

31 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
prajwalreddy
Level 2

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.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,410 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,410 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

23-01-2019

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

Avatar

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile
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?

Avatar

Avatar
Validate 1
Level 2
prajwalreddy
Level 2

Likes

5 likes

Total Posts

31 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
prajwalreddy
Level 2

Likes

5 likes

Total Posts

31 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Affirm 1
View profile
prajwalreddy
Level 2

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.

Avatar

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile
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.

Avatar

Avatar
Validate 1
Level 2
kamalc
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
kamalc
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
kamalc
Level 2

07-06-2019

Common Header and Footer with Editable Templates in multilingual site

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