This presentation is about custom machine translation in AEM. It takes OOTB Microsoft Translator as reference. This is developer-centric and contains code snippets of Microsoft Translation
2. Agenda
• What all is needed for translation?
• Where is the configuration?
• Developing Custom Connector
• Comparison with OOTB MS Translator
• Translation Workflows Decoded
3. Goal of this Session
To understand how a custom language translator
can be developed by comparing it with OOTB MS
Translator.
5. • A Translation Vendor – This is typically a cloud
service where vendor related information is stored.
Eg : Microsoft, Beebox.
• A mechanism to send content to translation system
• A mechanism to import content back to AEM
11. ● Create an implementation class for
TranslationServiceFactory interface
https://github.com/viveksachdeva/machin
e-translation-aem/blob/master/bundle/sr
c/main/java/com/tothenew/impl/MyTransla
tionServiceFactoryImpl.java
● It creates instance of service that does
translation plus it defines language and
category configuration for machine
translation
12.
13. ● Create an implementation class for
TranslationService interface that extends
AbstractTranslationService
https://github.com/viveksachdeva/machin
e-translation-aem/blob/master/bundle/sr
c/main/java/com/tothenew/impl/MyTransla
tionServiceImpl.java
● It includes utilities required for
translation like getting source page
language, translating content, caching
translated content
24. Language Copy Updation
● Calls CreateLanguageCopyLaunchProcess that
uses LaunchManager API to create launch but at
the same time does not create target language
copy