コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Experience Fragments and Translations with Variations

Avatar

Level 7

What is best practice? should I be creating translation experiences under variations for experience fragments. Currently I have something like

  • /content/experience-fragments/my-site/structure/header/en-gb.html
  • /content/experience-fragments/my-site/structure/header/en-ca.html
  • /content/experience-fragments/my-site/structure/header/fr-ca.html
  • /content/experience-fragments/my-site/structure/header/es-ca.html

What is the preferred way to prepare and structure my experience fragments for translations?

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

In my opinion that should be the same structure as the content structure.

If your content structure is like this:

    /content/my-site/{country}/{language}/page

then the experience fragment should be like this way

    /content/experience-fragments/my-site/{country}/{language}/structure/header

 

Benefits:

  1. Authors will never be confused at the time of authoring.
  2. You can create content packages easily. For example, you need to create a content package for Germany. So your filter path will be, /content/my-site/de, /content/experience-fragments/my-site/de, /content/dam/my-site/de.
    Otherwise, there will be unnecessary content.

元の投稿で解決策を見る

1 返信

Avatar

正解者
Community Advisor

In my opinion that should be the same structure as the content structure.

If your content structure is like this:

    /content/my-site/{country}/{language}/page

then the experience fragment should be like this way

    /content/experience-fragments/my-site/{country}/{language}/structure/header

 

Benefits:

  1. Authors will never be confused at the time of authoring.
  2. You can create content packages easily. For example, you need to create a content package for Germany. So your filter path will be, /content/my-site/de, /content/experience-fragments/my-site/de, /content/dam/my-site/de.
    Otherwise, there will be unnecessary content.