Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Translation for content in editable templates

Avatar

Avatar
Validate 1
Level 1
ankushd75501011
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
ankushd75501011
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
ankushd75501011
Level 1

11-06-2019

Hi,

We are adding header and footer components as part of the structure in the editable templates as we do not want the authors to edit it. So, creating as a part of editable templates and locking them down.

Now, when we create pages using these templates, the header and footer nodes do not get copied to the page but gets referenced from the template.

We want to create language copies of these pages, but since the header and footer are not a part of the page, their content does not go for translation.

Please help if anybody has faced a similar kind of issue.

kautuksahni

Thanks and Regards,

Ankush Dhingra

Replies

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
berliant
Employee

11-06-2019

Ankush, it's expected behavior. A locked container on the editable template cannot be translated as the locked status implied that it's immutable.

Might be you can use experienced fragments to construct heard and footer and use a language copy.

Avatar

Avatar
Validate 1
Level 1
ankushd75501011
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
ankushd75501011
Level 1

Likes

2 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
ankushd75501011
Level 1

11-06-2019

With the experience fragment also, it will be the same problem. I'll be locking down the experience fragment container component on my template in that case. And if it locked, the author won't be able to change the fragment path and it will keep referencing to the english one.

Regards,

Ankush Dhingra

Avatar

Avatar
Validate 1
Level 2
naveeng73207107
Level 2

Likes

7 likes

Total Posts

20 posts

Correct Reply

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

Avatar
Validate 1
Level 2
naveeng73207107
Level 2

Likes

7 likes

Total Posts

20 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
naveeng73207107
Level 2

19-09-2019

Hi,

We had the same issue and we overlayed the Experience Fragment component by based on page locale, we are modified the fragmentPath like if it is En locale then it would pick En version of header XF or if jcr:language of currentPage is fr then it would pick fr version of header XF. So you have to create lang copy of header & footer and overlay experience fragment component to pick current locale XFs by changing fragmentpath.