Experience Fragment Locales and Translations (Language Copy) | Community
Skip to main content
Level 6
Jan 18, 2022 5:45 PM UTC
Solved

Experience Fragment Locales and Translations (Language Copy)

What is the best way to create language copies for my experience fragments?

For example, would it make sense if I make the variations as language specific?
/content/experience-fragments/we-retail/marketing-card/master
/content/experience-fragments/we-retail/marketing-card/en_GB
/content/experience-fragments/we-retail/marketing-card/ar_AR

 

OR would I create 2 completely different experience-fragment like this?
/content/experience-fragments/we-retail/en_GB/marketing-card/master
/content/experience-fragments/we-retail/ar_AR/marketing-card/master

 

Is this best practice?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
maxbarrass-anchora
maxbarrass-anchoraAccepted solution
New Participant
Jan 19, 2022 2:58 AM UTC

As experience fragment are content you can follow the tenant segmentation:

<tenant>/<region>/<language>

so your content will look like this

/content/<tenant>/<region>/<language>
/content/experience-fragments/<tenant>/<region>/<language>/...

this will ensure no one is confused where things are and why.

2 replies

DEBAL_DAS
New Participant
Jan 19, 2022 4:54 AM UTC

You could refer https://exadel.com/news/aem-experience-fragments-rollout-configuration/, it gives you implementation idea also.

Translate
maxbarrass-anchora
maxbarrass-anchoraAccepted solution
New Participant
Jan 19, 2022 2:58 AM UTC

As experience fragment are content you can follow the tenant segmentation:

<tenant>/<region>/<language>

so your content will look like this

/content/<tenant>/<region>/<language>
/content/experience-fragments/<tenant>/<region>/<language>/...

this will ensure no one is confused where things are and why.

Translate