Machine Translation in AEM
Vivek Sachdeva
Agenda
• What is Machine Translation?
• Benefits
• How it works?
• Demo
• Developer's View
Goal of Session
To have understanding of default translator in AEM.
What is Machine Translation
• It is one way of achieving internationalization in
the project
• Automatically translate content from one language
to other.
Benefits
• Reduction in go-live time
• MT is better than no translation
Following translation workflows are used:
• Add Language Copy
• Update Language Copy
How it works in AEM?
Language Copy Creation
Language Copy Update
Promoting a launch
Introduction to Machine translation - AEM
Developer's View
etc/workflow/models/translation/config.p
roperties
Properties to translate
1) Translate Language Copy Process
2.1) Create Language Copy Launch
2.2) Inject Master Language Into Launch
Process
What all Processes are involved?
●
It makes a POST call to
/etc/workflow/instances that resolves to
com.adobe.granite.workflow.console.ser
vlet.InstancesServlet
●
It requires language root page of target
language to be present. For example, to
translate some page in en to fr, fr root
page should exist. Rest of the hierarchy
is automatically created.
Language Copy Creation
●
Model(/etc/workflow/models/wcm-
translation/create_language_copy/jcr:con
tent/model)
●
TranslationWorkflowModel(/etc/workflow/
models/wcm-translation/translate-
language-copy/jcr:content/model)
●
Target Language
●
Payload
Language Copy Creation(Contd..)
●
Send same properties except value of
model which now points to
/etc/workflow/models/wcm-
translation/update_language_copy/jcr:co
ntent/model
●
This triggers translation but does not
update target page. Translated page is
stored under launches folder so it can be
reviewed before pushing it.
Language Copy Update
●
It is the process of pushing translated
content from launch to target language
page
●
This step follows content review
●
Makes a call to /bin/wcmcommand
cmd : promoteLaunch
path : /contet/mypage
Promoting a launch
●
Triggered using /services/translate
●
com.adobe.cq.social.translation.impl.Tra
nslatorServlet handles translation.
●
It returns a JSON with translated content
Translating content of a node
http://localhost:4502/services/translate?
userLang=en&respath=/content/geomet
rixx-media/jcr:content&properties=jcr
%3Adescription&tolanguage=en&pageP
ath=/content/geometrixx-
media/en/community&userId=admin
Translating content of a node(Contd..)
●
userLang: en
●
respath: /content/usergenerated/content/geometrixx-
media/en/community/pad/jcr:content/forum/1_ciot/yfb
s-i_think_it_willib/1_tosp/y7tv-lidea_di_questovide
●
properties: jcr:description
●
tolanguage: en
●
pagePath: /content/geometrixx-
media/en/community/pad.topic.html/content/usergen
erated/content/geometrixx-
media/en/community/pad/_jcr_content/forum/1_ciot/y
fbs-i_think_it_willib
●
userId: admin
Translating content of a node(Contd..)
{
translation: {
jcr:description: "The idea of this game is
phenomenal: Finally you can interact with a
robot and you can simulate real actions!"
},
status: "Success",
displayType: "replace",
display: "replace",
attribution: "Translations by Microsoft"
}
Sample Response
●
http://docs.adobe.com/docs/en/aem/6-
0/administer/integration/third-party-
services/machine-translation.html
●
http://docs.adobe.com/docs/en/aem/6-
0/administer/social-
communities/translate-ugc.html
References
Introduction to Machine translation - AEM

More Related Content

PDF
Extending Machine Translation in AEM
PDF
Server-Side Rendering (SSR) with Angular Universal
PDF
[Webinar]: Working with Reactive Spring
PPTX
Advanced angular
PDF
An Introduction to Redux
PPTX
Express js
PDF
Introduction to Spring Cloud
PPTX
Express JS Rest API Tutorial
Extending Machine Translation in AEM
Server-Side Rendering (SSR) with Angular Universal
[Webinar]: Working with Reactive Spring
Advanced angular
An Introduction to Redux
Express js
Introduction to Spring Cloud
Express JS Rest API Tutorial

What's hot (20)

PDF
Spring boot introduction
PDF
Angular server side rendering - Strategies & Technics
PPTX
PPTX
Features of java - javatportal
PPTX
Flutter introduction
PDF
Angular 10 course_content
PDF
외계어 스터디 1/5 - Overview
PDF
Introduction to Node.js
PPTX
React Architecture & Best Practices.pptx
PDF
react redux.pdf
PDF
Connecting Connect with Spring Boot
PDF
Java Collections API
PDF
Typescript in React: HOW & WHY?
PDF
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
PPTX
Web Services and Introduction of SOAPUI
PDF
Angular components
PDF
Microservices with Java, Spring Boot and Spring Cloud
PDF
Asynchronous javascript
PDF
TypeScript: coding JavaScript without the pain
PDF
Angular data binding
Spring boot introduction
Angular server side rendering - Strategies & Technics
Features of java - javatportal
Flutter introduction
Angular 10 course_content
외계어 스터디 1/5 - Overview
Introduction to Node.js
React Architecture & Best Practices.pptx
react redux.pdf
Connecting Connect with Spring Boot
Java Collections API
Typescript in React: HOW & WHY?
Angular Directives | Angular 2 Custom Directives | Angular Tutorial | Angular...
Web Services and Introduction of SOAPUI
Angular components
Microservices with Java, Spring Boot and Spring Cloud
Asynchronous javascript
TypeScript: coding JavaScript without the pain
Angular data binding
Ad

Viewers also liked (20)

PPT
Types of machine translation
PPTX
Machine Translation: What it is?
PPTX
Machine translation
PPTX
Machine Translation
PDF
Machine Translation Introduction
PPT
What is machine translation
PPTX
Machine Tanslation
PPT
Techniques in translation, computer assisted, machine translation, subtitling...
PPTX
Techniques in Translation
PPT
Types of translation
PPT
Translation Types
PDF
Microsoft - SEO - TAUS Tokyo Forum 2015
PPT
Good Applications of Bad Machine Translation
PDF
Human vs machine translation
PPTX
Machine translation vs human translation
PPTX
Machine Translation: Latest Innovations and their Impact on Commercial Transl...
 
PDF
Verbos irregulares
PPTX
Contact sheet
PDF
AEM Client Context Customisation
PPTX
AEM 6 - Client Context Personalization
Types of machine translation
Machine Translation: What it is?
Machine translation
Machine Translation
Machine Translation Introduction
What is machine translation
Machine Tanslation
Techniques in translation, computer assisted, machine translation, subtitling...
Techniques in Translation
Types of translation
Translation Types
Microsoft - SEO - TAUS Tokyo Forum 2015
Good Applications of Bad Machine Translation
Human vs machine translation
Machine translation vs human translation
Machine Translation: Latest Innovations and their Impact on Commercial Transl...
 
Verbos irregulares
Contact sheet
AEM Client Context Customisation
AEM 6 - Client Context Personalization
Ad

Similar to Introduction to Machine translation - AEM (20)

PDF
Week 08_Basics of Compiler Construction.pdf
PDF
Managing Translation Workflows in Drupal 7
PPTX
Lec 1 Compiler Construction (CC) CC.pptx
PPTX
Basic Introduction of C Lecture 1[16096].pptx
PPTX
Compilers.pptx
PPTX
Python-unit -I.pptx
PDF
Introduction to computer programming
PDF
sege.pdf
PPTX
Programming languages,compiler,interpreter,softwares
PDF
Module4.pdf ,...................................
PPTX
Computer Science guide to C Unit-I Translator.pptx
PPTX
introduction to problem solving and programming
PPTX
programming.pptx
PDF
An intuitive guide to combining free monad and free applicative
PPTX
basic programming introduction about java
PPTX
Python Programming-Skill Course - unit-i.pptx
PPTX
Go fundamentals
PPTX
Programming Languages / Translators
PDF
Programming Languages
PDF
Introduction to programming language (basic)
Week 08_Basics of Compiler Construction.pdf
Managing Translation Workflows in Drupal 7
Lec 1 Compiler Construction (CC) CC.pptx
Basic Introduction of C Lecture 1[16096].pptx
Compilers.pptx
Python-unit -I.pptx
Introduction to computer programming
sege.pdf
Programming languages,compiler,interpreter,softwares
Module4.pdf ,...................................
Computer Science guide to C Unit-I Translator.pptx
introduction to problem solving and programming
programming.pptx
An intuitive guide to combining free monad and free applicative
basic programming introduction about java
Python Programming-Skill Course - unit-i.pptx
Go fundamentals
Programming Languages / Translators
Programming Languages
Introduction to programming language (basic)

Recently uploaded (20)

PPTX
Digital Convergence: How GIS, BIM, and CAD Revolutionize Asset Management
PDF
Decision Optimization - From Theory to Practice
PPTX
From XAI to XEE through Influence and Provenance.Controlling model fairness o...
PDF
CEH Module 2 Footprinting CEH V13, concepts
PPTX
CRM(Customer Relationship Managmnet) Presentation
PPTX
Presentation - Principles of Instructional Design.pptx
PPTX
How to use fields_get method in Odoo 18
PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
Fitaura: AI & Machine Learning Powered Fitness Tracker
PDF
Internet of Things (IoT) – Definition, Types, and Uses
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
Intravenous drug administration application for pediatric patients via augmen...
PPTX
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
PDF
substrate PowerPoint Presentation basic one
PPTX
Information-Technology-in-Human-Society.pptx
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
Ericsson 5G Feature,KPIs Analysis_ Overview, Dependencies & Recommendations (...
PDF
Chapter 1: computer maintenance and troubleshooting
PDF
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
PDF
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
Digital Convergence: How GIS, BIM, and CAD Revolutionize Asset Management
Decision Optimization - From Theory to Practice
From XAI to XEE through Influence and Provenance.Controlling model fairness o...
CEH Module 2 Footprinting CEH V13, concepts
CRM(Customer Relationship Managmnet) Presentation
Presentation - Principles of Instructional Design.pptx
How to use fields_get method in Odoo 18
Connector Corner: Transform Unstructured Documents with Agentic Automation
Fitaura: AI & Machine Learning Powered Fitness Tracker
Internet of Things (IoT) – Definition, Types, and Uses
Introduction to MCP and A2A Protocols: Enabling Agent Communication
Intravenous drug administration application for pediatric patients via augmen...
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
substrate PowerPoint Presentation basic one
Information-Technology-in-Human-Society.pptx
Data Virtualization in Action: Scaling APIs and Apps with FME
Ericsson 5G Feature,KPIs Analysis_ Overview, Dependencies & Recommendations (...
Chapter 1: computer maintenance and troubleshooting
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf

Introduction to Machine translation - AEM