Translation projects

Translation often begins with content editors identifying pages of content that must be localized for specific markets. Experience Workspace meets its users where they are and translation projects likewise expect lists of URLs that must be localized.

Translations are powered by Google Translate by default and require no additional setup. However, your administrator can configure other translation services to meet your project’s needs.

How a translation project works

Every project moves through the same stages. Stages that don't apply to your content or your site's configuration are skipped automatically.

  1. Setup - You provide the pages, validate them, and confirm the options and languages for the project.
  2. Sync - Only shown when your site has a source folder (for example /en) and some of the pages you supplied are not inside it or inside a folder set in a language's source column. You can sync those pages into the source folder, or skip the step.
  3. Translate - Content is sent to the configured translation service and the results are saved back into each language folder. Languages set to copy receive the source content as-is.
  4. Rollout - Only shown when a language has locales or regions configured. Content is copied from the language folder into each selected locale.

Every save is stored as a version of the page, labeled with the project title, so you can review or restore earlier content. For help choosing between language-based, region-based, locale-based, and hybrid structures, see translation strategies.

Create a translation project

  1. Collect a list of URLs of pages that you wish to translate.

    1. The pages must be previewed or published.
    2. The pages must be within the same site.
    3. In this example, we use https://main--da-harvey-dent--bohnertchris.aem.live/demo.
  2. Under Apps, select Translate.

  3. Translations are organized as projects where you can specify as many pages as you wish. If you have no existing translation projects you start on the Setup basics tab.

    1. In Title, provide a descriptive name for the translation project.
    2. In URLs, copy in the list of URLs you wish to translate.
    3. Click Validate sources.
  4. On the Validate sources tab, the list of URLs is validated

    1. A statistical overview of how many Docs, Fragments, Sheets, and Errors are present is provided.
    2. Validation confirms that each page exists. It also finds fragments referenced by your pages and adds them to the project automatically so content isn't left behind. Fragments from other origins are not added.
    3. A list of each URL and their statuses is available. Uncheck an entry if you wish to exclude some of the provided URLs from translation. At least one URL must remain selected.
    4. If your administrator turned on source.language.detect, the project's source folder comes from the URLs you supplied, and all of them must come from one source folder. When they come from more than one, an error appears and you can't continue, so create a separate project for each folder. URLs that match no source folder, such as fragments, are ignored for this check.
    5. If two of your URLs would be saved to the same path in the language folders, such as /us/en/about and /emea/en/about, an error names the conflicting URLs and you can't continue. Remove one of them from the project.
    6. Click Confirm options to continue.
  5. On the Confirm options tab, you specify the specific translation behavior for the project as well as which languages should be included.

    1. The total number of Sources included and selected Languages is provided.
    2. With source detection on, a Source card shows the detected folder. The language list shows only languages that can start from that folder, and languages left with only Skip are hidden.
    3. Specify the environment and conflict resolution behavior for the project.
      1. Environment defines where the content will be translated (default is prod).
      2. Conflict resolution defines what happens when content already exists in the destination. It can be configured to overwrite the content or merge. Which choices are offered, and which is the default, is set by your administrator. Conflict resolution can be defined for conflicts:
        1. On source sync - What to do when the source is synced to the localized content
        2. On translation return - What to do when the translation comes back from the translation service
        3. On source copy - What to do when the source is copied
        4. On rollout - What to do when the content is rolled out
        • Overwrite replaces the destination with the incoming content.
        • Merge compares the incoming content with what is already in the destination and shows the differences in the page. You choose which changes to accept or reject, and decisions you've already made are remembered so they aren't presented again. Merge is the way to keep regional edits through repeated rollouts.
        • Spreadsheets, JSON, and other non-HTML files are always overwritten, never merged. If a page has nothing to merge against, or a merge can't be completed, the page is overwritten.
        • If the source and destination are identical, nothing is written.
    4. Define the target Languages for the translation project by choosing an action for each language. Your administrator defines which actions are available for each language, and the first one listed is the default.
      • Translate sends the content to your translation service and saves the result in the language folder.
      • Copy copies the source content into the language folder without translating it.
      • Rollout skips translation and only copies content from the language folder to its locales. Use this for a language that already has translated content.
      • Skip does nothing for the language in this project. It is always available.
      1. Use the All languages row to set all available languages to the same action, such as Skip or Translate.
      2. In this example we use German and French.
      3. If a language has locales or regions, they are all selected for rollout by default, unless your administrator limits the default selection. You can change the selection for your project.
      4. A language can be configured to be translated from another language instead of the project's source language. For example, fr-CA can be translated from fr-FR rather than from English. That language waits until its source language has been translated and saved, and is then sent to the translation service on its own using the translated content as its source.
    5. Click Start project to begin translation.
      1. Up until starting the project, the project sources, options, and languages can be modified using the Validate source button to page back to previous tab of the project setup.
  6. If your site has a source folder and some of your pages are outside it or outside a language's source folder, the project starts with a sync step so those pages are brought into the source folder first. Sync them, or skip the step.

  7. On the Translate sources tab, you have an overview of the languages selected as well as how many sources are included in each and of those, how many have been Sent to translation, how many are Translated, and how many are Saved. Click Translate all to begin translation.

    Content that your administrator has marked as do not translate, such as URLs, section metadata, or specific metadata or spreadsheet columns, is passed through untouched.

  8. The status of the individual languages is updated as the translation proceeds.

    1. Click Get status to update the status of the language translations.
    2. A language that is translated from another language shows as waiting until its source language is saved.
    3. If any language has locales or regions, a rollout step follows translation to copy the content into them, using the conflict behavior you chose On rollout.
    4. Click Complete project to close the translation project.
  9. You are notified that the project is complete and can use Go to dashboard to review your completed project.

  10. Browse to your content root and you will see the language folders containing your translated content (in this case, de for German and fr for French).

  11. Editing the German document shows the translated content.

  12. You can now further localize the content, send a link for review, or publish it. Each save made by the project is stored as a version of the page, so you can review or restore earlier content.

Managing translation projects

Because translation efforts can take time and involve many pages, it is possible to return to projects in progress by using the Localization Dashboard. If you have any existing translation project, the dashboard is shown when selecting the Translate app.

To maintain a manageable list of active projects, use the Archive button to hide projects that are no longer active.

To save time creating translation projects use the Copy button to copy the parameters of a previous project into a new one.