Connecting to a Translation Service Provider
The first step is to choose which translation service you wish to use. There are many choices for human and machine translation services available to AEM. Most providers offer a translator package to be installed. See the Additional Resources section for a selection of options available.
For the purposes of this journey, we use the Microsoft Translator which AEM provides with a trial license out-of-the-box. See the Additional Resources section for more information about this provider.
If you choose another provider your administrator must install the connector package as per the instructions provided by the translation service.
Creating a Translation Integration Configuration
After the connector package for your preferred translation service is installed, you must create a Translation Integration Framework configuration for that service. The configuration includes the following information:
- Which translation service provider to use
- Whether human or machine translation is to be performed
- Whether to translate other content that is associated with the Content Fragment such as tags
To create a translation configuration:
-
In the global navigation menu, click Tools > Cloud Services > Translation Cloud Services.
-
Navigate to where you wish to create the configuration in your content structure. This is often based on a particular project or can be global.
- For example, in this case, a configuration could be made globally to apply to all content, or just for the WKND project.
-
Provide the following information in the fields and then click Create.
- Select Configuration Type in the drop-down. Select Translation Integration from the list.
- Enter a Title for your configuration. The Title identifies the configuration in the Cloud Services console and in page property drop-down lists.
- Optionally, type a Name to use for the repository node that stores the configuration.
-
Click Create and the Edit Configuration window appears where you can configure the configuration properties.
-
Remember that Content Fragments are stored as assets in AEM. Click the Assets tab.
-
Provide the following information.
- Translation Method - Select Machine Translation or Human Translation depending on your translation provider. For the purposes of this journey we assume machine translation.
- Translation Providers - Select the connector you installed for your translation service from the list.
- Content Category - Select the most appropriate category to better target the translation (only for machine translation).
- Translate Content Fragment Assets - Check this to translate assets associated with Content Fragments.
- Translate Assets - Check this to translate the assets.
- Translate Metadata - Check this to translate asset metadata.
- Translate Tags - Check this to translate tags that are associated with the asset.
- Auto-Execute Translation - Check this property if you want translations to be automatically sent to your translation service.
-
Click Save & Close.
You have now configured the connector to your translation service.
Associate the Configuration with Your Content
AEM is a flexible and powerful tool and supports multiple, simultaneous translation services via multiple connectors and multiple configurations. Setting up such a configuration is beyond the scope of this journey. However this flexibility means that you must specify which connectors and configuration should be used to translate your content by associating ths configuration with your content.
To do this, navigate to the language root of your content. For our example purposes this is
/content/dam/<your-project>/en
- Go to the global navigation and go to Navigation > Assets > Files.
- In the assets console, select the language root to configure and click Properties.
- Click the Cloud Services tab.
- Under Cloud Service Configurations in the Add Configuration dropdown, select your connector. It should appear in the dropdown when you have installed its package as described previously.
- Under Cloud Service Configurations in the Add Configuration dropdown, also select your configuration.
- Click Save & Close.
What’s Next
Now that you have completed this part of the headless translation journey you should:
- Understand the important parameters of the Translation Integration Framework in AEM.
- Be able to set up your own connection to your translation service.
Build on this knowledge and continue your AEM headless translation journey by next reviewing the document Configure translation rules, where you will learn how to define which content to translate.
Additional Resources
While it is recommended that you move on to the next part of the headless translation journey by reviewing the document Configure translation rules the following are some additional, optional resources that do a deeper dive on some concepts mentioned in this document, but they are not required to continue on the headless journey.
- Configuring the Translation Integration Framework - Review a list of selected translation connectors and learn how to configure the Translation Integration Framework to integrate with third-party translation services.
- Connecting to Microsoft Translator - AEM provides a trial Microsoft Translation account for testing purposes.
Experience Manager
Put the Customer at the Center and Build Relationships That Last a Lifetime
First impressions last a lifetime. Great first impressions feel personal, connected, and relevant right from the start. From the first...
Wed, Mar 19, 2:30 PM PDT (9:30 PM UTC)
B2B Reimagined: Transforming Go-to-Market Strategies for Profitable Growth
B2B brands are facing a digital revolution. Buyers expect hyper-relevant content and self-service, while internally AI is transforming...
Wed, Mar 19, 1:00 PM PDT (8:00 PM UTC)
Connect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more