Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

How to localize footer (using experience fragment) after language copy using the same template

Avatar

Level 1

HI,

I am using an editable template where the structure contains the footer (experience fragment component) and is set to an experience fragment, for example, at path "/content/experience-fragments/xyz/en_US/footer/home-page-footer-ef" so all pages created with this template will render a common footer.

However, if I make a language copy say to fr_CA, it would still show the same footer as mentioned above.

Question, how do I make it so that it points to a diff footer in different language say at "/content/experience-fragments/xyz/fr_CA/footer/landing-page-footer-ef" but still use the same editable template?

I mean I can duplicate a copy of the template for fr_CA and set the experience path, but that seems wrong, or customize the experience fragment component to dynamically set locale in the path but that requires the remainder of the path be the same.

There must be a more elegant way to handle this? 

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 10
3 Replies

Avatar

Correct answer by
Level 10

Avatar

Level 10

In mean time - i asked our team that handles translation to look here.