Translation from the Sites Console
Translation projects can be created or updated directly from the sites console.
Creating Translation Projects Using the References Panel
Create translation projects so that you can execute and manage the workflow for translating the resources of your language master. When you create projects, you specify the page in the language master that you are translating and the language copies for which you are performing the translation:
- The cloud configuration of the translation integration framework that is associated with the selected page determines many properties of the translation projects, such as the translation workflow to use.
- A project is created for each language copy that is selected.
- A copy of the selected page and associated assets are created and added to each project. These copies are later sent to the translation provider for translating.
You can specify that the child pages of the selected page are also selected. In this case, copies of the child pages are also added to each project so that they are translated. When any child pages are associated with different translation integration framework configurations, AEM creates additional projects.
You can also manually create translation projects.
project-administrators
group.Initial Translations and Updating Translations
The References panel indicates whether the you are updating existing language copies or creating the first version of the language copies. When a language copy exists for the selected page, the Update Language Copies tab appears to provide access to project-related commands.
After translating, you can review the translation before overwriting the language copy with it. When no language copy exists for the selected page, the Create & Translate tab appears to provide access to project-related commands.
Create Translation Projects for a New Language Copy
-
Use the Sites console to select the page that you are adding to translation projects.
-
Using the toolbar, open the References rail.
-
Select Language Copies, and then select the language copies for which you are translating the source pages.
-
Select Create & Translate and then configure the translation job:
- Use the Languages drop-down to select a language copy for which you want to translate. Select additional languages as required. Languages that appear in the list correspond with the language roots that you have created.
- Selecting multiple languages creates one projects with a translation job for each language.
- To translate the page that you selected and all child pages, select Select all sub-pages. To translate only the selected page that you selected, clear the option.
- For Project, select Create Translation Project(s).
- Optionally for Project Master, select a project from which to inherit user roles and permissions.
- In Title type a name for the project.
- Use the Languages drop-down to select a language copy for which you want to translate. Select additional languages as required. Languages that appear in the list correspond with the language roots that you have created.
-
Select Create.
Create Translation Projects for an Existing Language Copy
-
Use the Sites console to select the page that you are adding to the translation projects.
-
Using the toolbar, open the References rail.
-
Select Language Copies, and then select the language copies for which you are translating the source pages.
-
Select Update Language Copies and then configure the translation job:
- To translate the page that you selected and all child pages, select Select all sub-pages. To translate only the selected page that you selected, clear the option.
- For Project, select Create Translation Project(s).
- Optionally for Project Master, select a project from which to inherit user roles and permissions.
- In Title type a name for the project.
-
Select Create.
Adding Pages to a Translation Project
After you have created a translation project, you can use the Resources rail to add pages to the project. Adding pages is useful when you are including pages from different branches in the same project.
When you add pages to a translation project, the pages are included in a new translation job. You can also add pages to an existing job.
As when creating a project, when adding pages, copies of the pages are added to a launch when necessary to avoid overwriting existing language copies. (See Creating Translation Projects for Existing Language Copies.)
-
Use the Sites console to select the page that you are adding to the translation project.
-
Using the toolbar, open the References rail.
-
Select Language Copies, and then select the language copies for which you are translating the source pages.
-
Select Update Language Copies and then configure the properties:
- To translate the page that you selected and all child pages, select Select all sub-pages. To translate only the selected page that you selected, clear the option.
- For Project, select Add to existing Translation Project.
- Select the project in Existing Translation Project.
NOTE
The target language set in the translation project should match with the path of the language copy as shown in references rail. -
Select Update.
Creating the Structure of a Language Copy
It is possible to create only the structure of the language copy, allowing you to copy content and structural changes in the language master to (untranslated) language copies. This is unrelated to a translation job or project. You can use this to keep your language masters in sync, even without translation.
Populate your language copy so that it contains content from the master language that you are translating. Before you populate your language copy, you must have created the language root of the language copy.
-
Use the sites console to select the language root of the master language that you are using as the source.
-
Open the references rail by clicking or tapping References in the toolbar.
-
Select Language Copies, and then select the language copies that you want to populate.
-
Select Update Language Copies to reveal the translation tools, and configure the properties:
- Select the Select all sub-pages option.
- For Project, select Create Structure Only.
-
Select Update.
Updating Translation Memory
Manual edits of translated content can be synchronized back to the Translation Management System (TMS) to train its translation memory.
- From the sites console, after updating text content in a translated page, select Update Translation Memory.
- A list view shows a side-by-side comparison of the source and the translation for every text component that was edited. Select which translation updates should be synchronized to translation memory, and select Update Memory.
AEM updates the translation of the existing strings in the translation memory of the configured TMS.
- The action updates the translation of existing strings in the translation memory of the configured TMS.
- It does not create new translation jobs.
- It sends the translations back to the TMS, via AEM translation API (see below).
To use this feature:
-
A TMS must be configured for use with AEM.
-
The connector must implement the method
storeTranslation
.- Code within this method determines what happens to the translation memory update request.
- The AEM translation framework sends the string value pairs (original and updated translation) back to the TMS via this method implementation.
The translation memory updates can be intercepted and sent to a custom destination, for cases where a proprietary translation memory is used.
Checking Translation Status of a Page
A property can be selected in the list view of the sites console that shows if a page has been translated, is in translation, or has not yet been translated.
- In the site console, switch to list view.
- Select, View Settings in the view drop-down.
- In the dialog, check the Translated property and select Update.
The sites console now displays the Translated column showing the translation status of the pages listed.
Managing Translation Projects from the Project Console
Many translation tasks and advanced options can be accessed in the projects console.
Understanding the Projects Console
Translation projects in AEM use the standard AEM projects console. If you are not familiar with AEM projects, review that documentation.
As any other project A translation project is made up of tiles that present an overview of the project tasks.
- Summary - An overview of the project
- Tasks - One or more translation tasks
- Team - Users collaborating on the translation project
- Tasks - Items that need to be completed as part of the translation effort
Use the commands and ellipsis buttons at the top and bottom of the tiles (respectively) to access controls and options for the various tiles.
Creating a Translation Project Using the Projects Console
You can manually create a translation project if you prefer to use the projects console instead of the sites console.
project-administrators
group.When you manually create a translation project, you must provide values for the following translation-related properties in addition to the basic properties:
- Name: Project name
- Source Language: The language of the source content
- Target Language: The language or languages into which the content is being translated
- If multiple languages are selected, a job is created for each language within the project.
- Translation Method: Select Human Translation to indicate that the translation is to be performed manually.
- On the toolbar of the projects console, select Create.
- Select the Translation Project template and then select Next.
- Enter values for the Basic properties tab.
- Select Advanced and provide values for the translation-related properties.
- Select Create. In the confirmation box, select Done to return to the projects console, or select Open Project to open and start managing the project.
Adding Pages and Assets to a Translation Job
You can add pages, assets, or tags to the translation job of your translation project. To add pages or assets:
-
On the bottom of the translation job tile of your translation project, select the ellipsis.
-
In the next window select the Add button in the toolbar and then select Assets/Pages.
-
In the modal window, select the topmost item of the branch that you want to add, and then select the check mark icon. Multi-select is enabled in this window.
-
Alternatively, you can select the search icon to easily look for pages or assets you want to add to your translation job.
-
Once selected, select Select. Your pages and/or assets are added to the translation job.
Adding i18n Dictionaries to a Translation Job
You can add pages, assets, tags or i18n dictionaries to the Translation Job of your Translation project. To add an i18n dictionary:
-
On the bottom of the Translation Job tile of your translation project, click the ellipsis.
-
Click Add and I18N-Dictionary.
-
Select the Root Directory, and dictionary (if necessary), that you want to add, and then select Add.
Your dictionary is now in your translation job and the translation process can then be started to create the dictionary language copies in /content/cq:i18n
and to send those dictionary language copies for translation.
Adding Tags to a Translation Job
You can add tags to a translation project similar to how you add assets and pages to a project. Just select Tags under the Add menu then follow the same steps.
Seeing Translation Project Details
The translation project properties are accessible via the ellipsis button of the project summary tile. In addition to the generic project information, the translation project properties contains translation-specific.
In your translation project, select the ellipsis at the bottom of the Translation Summary tile. Most project-specific properties are on the Advanced tab.
- Source Language: The language of the pages that are being translated
- Target Language: The language or languages into which the pages are being translated
- Cloud Configuration: The cloud configuration for the translation service connector that is used for the project
- Translation Method: The translation workflow, either Human Translation or Machine Translation
- Translation Provider: The translation service provider that is performing the translation
- Content Category: (Machine Translation) The content category that is used for translating
- Translation Provider Credential: The credentials to sign into the provider
- Automatically Promote Translation Launches: After receiving translated content, translation launches are automatically promoted
- Delete Launch After Promotion: If translation launches are automatically promoted, delete the launch after promotion
- Automatically Approve Translations: After receiving translated content, translation jobs are automatically approved
- Repeat Translation: Configure recurring execution of a translation project by selecting the frequency that the project will automatically create and execute translation jobs
When a project is created using the references rail of a page, these properties are automatically configured based on the properties of the source page.