Reference config sheets

Below you will find a few sample configurations to help fast track your localization setup.

To use:

  1. Right click the reference config that best describes your desired setup.
  2. Download the file to your computer.
  3. Upload the translate.json file to https://da.live/edit#/{YOUR_ORG}/{YOUR_SITE}/.da
  4. Observe the existing patterns and adjust to match your needs.

Choosing the right config

Projects typically fall into one of two categories when it comes to localization:

  1. Language-based - Useful for informational sites than need simple content translations.
  2. Region-based - Useful for commerce or sites with regionally specific content.

For more information about localization strategies, please see the document Strategies for translation, localization, and rollout.

DA allows you to also take a hybrid approach to content. You can choose to have a largely language-based site, but create regional content as necessary. You are only limited in how your delivery-side code respects your language and region choices.

Language-based Google Translate config

This config will expect your source content in the root of your site. It makes no assumptions about what language this source content is and provides common languages to translate to.

Download translate.json

Locale-based (language > region) Google Translate config

This config will expect your source content to live in /en. If your content lives outside (i.e. /drafts/bruce-wayne/my-page), it will ask you to sync into the /en folder before sending to translate. It expands language actions to include rollout for scenarios where you wish to rollout from the language source of truth to its associated locales.

Download translate.json

Region-based (region > language) Google Translate config

This config will expect your source content to live in /us/en. If your content lives outside, it will ask you to sync into the /us/en folder. It expects each region EMEA, APAC to contain en content as their source of truth. This allows you to create regionally specific content and localize within a given region. As mentioned above, this pattern is useful for commerce sites that have significant regional content.

Download translate.json

Language-based Smartling config

You will need a Smartling account to use this setup. This is for human, machine, and LLM-based translation. This config will expect your source content in the root of your site. It makes no assumptions about what language this source content is and provides common languages to translate to.

Download translate.json

Locale-based (language > region) Smartling config

You will need a Smartling account to use this setup. This is for human, machine, and LLM-based translation. This config will expect your source content to live in /en. If your content lives outside (i.e. /drafts/bruce-wayne/my-page), it will ask you to sync into the /en folder before sending to translate. It expands language actions to include rollout for scenarios where you wish to rollout from the language source of truth to its associated locales.

Download translate.json