Template Management | Community
Skip to main content
November 12, 2021
Solved

Template Management

  • November 12, 2021
  • 3 replies
  • 1090 views

Hi all,

 

In our site we have created header and footer with Experience Fragments. Ans we have added to templates, so each page that uses that template will have header and footer. But, we do not know how to manage this for each country and language, since we have to add Header/Footer as static content too templates. Do we have to create a template for each language of each country? And do we have to create an Experience Fragment for each language/country to translate some things? Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hemalatha

Hi @ad-engineer ,

 

Go through the below article which explains your use case with detailed information. 

http://www.sgaemsolutions.com/2019/10/implementing-header-and-footer-with.html

 

And regarding the translation case, you can translate Exp Frag like normal pages, based on the translation connector you are using you might need to add some configurations to enable Exp Frag for translation. 

 

3 replies

Hemalatha
HemalathaAccepted solution
November 12, 2021

Hi @ad-engineer ,

 

Go through the below article which explains your use case with detailed information. 

http://www.sgaemsolutions.com/2019/10/implementing-header-and-footer-with.html

 

And regarding the translation case, you can translate Exp Frag like normal pages, based on the translation connector you are using you might need to add some configurations to enable Exp Frag for translation. 

 

arunpatidar
Community Advisor
Community Advisor
November 13, 2021

Hi,

Core component support the localization, you can use that to use localize XF. In the template you just have to set master or en as defualt and on rendering it will take care of localized version

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/experience-fragment.html

 

Arun Patidar
Kishore_Kumar_
November 14, 2021

Hi @ad-engineer ,

 

Please go through below article.

 

https://link.medium.com/pDo9kg58ckb