SlideShare a Scribd company logo
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

What's hot (20)

PPT
Pragmatics
Lyudmila Osinovskaya
 
PPT
Morphology
Dr. Cupid Lucid
 
PPTX
Morphology, the Study of the Morphemes and Word.
Khaleel Al Bataineh
 
PPTX
Basic principles of translation
Donovan Ramon MartinezCruz
 
PDF
Contrastive Analysis Hypothesis
Shona Whyte
 
PPTX
The lexical approach.ppt
Arianny Carolina
 
PPT
Linguistics
PaulVMcDowell
 
PPTX
English for Young Learners
Dee Mute
 
PPTX
Functional grammar
Lutchie Gallon
 
PPTX
Cohesion presentation
Oporna Das
 
PPTX
English Language Teaching Frameworks - Yasmina Zergani.pptx
YASMINAZERGANI
 
PPT
Syntax
Dieu Dang
 
PPTX
Syntax and morphology
mavs morales
 
PPT
Group 2 - A methodical history of language teaching
GuilhermeLS
 
PPT
Lexicography
the4theorists
 
PPT
Discourse analysis
Chenk Alie Patrician
 
PPTX
Pragmatics slide 1
Alimbekova Alimbekova
 
PPTX
The verb phrase by aziza saiaf al shahrani - 0879206 __ syntax 334 lane
Academic Supervisor
 
PPTX
Michael halliday
julyllantenc
 
PPTX
How to teach grammar
Ahmedchanchaf
 
Morphology
Dr. Cupid Lucid
 
Morphology, the Study of the Morphemes and Word.
Khaleel Al Bataineh
 
Basic principles of translation
Donovan Ramon MartinezCruz
 
Contrastive Analysis Hypothesis
Shona Whyte
 
The lexical approach.ppt
Arianny Carolina
 
Linguistics
PaulVMcDowell
 
English for Young Learners
Dee Mute
 
Functional grammar
Lutchie Gallon
 
Cohesion presentation
Oporna Das
 
English Language Teaching Frameworks - Yasmina Zergani.pptx
YASMINAZERGANI
 
Syntax
Dieu Dang
 
Syntax and morphology
mavs morales
 
Group 2 - A methodical history of language teaching
GuilhermeLS
 
Lexicography
the4theorists
 
Discourse analysis
Chenk Alie Patrician
 
Pragmatics slide 1
Alimbekova Alimbekova
 
The verb phrase by aziza saiaf al shahrani - 0879206 __ syntax 334 lane
Academic Supervisor
 
Michael halliday
julyllantenc
 
How to teach grammar
Ahmedchanchaf
 

Viewers also liked (20)

PPT
Types of machine translation
Rushdi Shams
 
PPTX
Machine Translation: What it is?
Multilizer
 
PPTX
Machine translation
mohamed hassan
 
PPTX
Machine Translation
Skilrock Technologies
 
PDF
Machine Translation Introduction
nlab_utokyo
 
PPT
What is machine translation
Stephen Peacock
 
PPTX
Machine Tanslation
Mahsa Mohaghegh
 
PPT
Techniques in translation, computer assisted, machine translation, subtitling...
Moses Altovar
 
PPTX
Techniques in Translation
juvelle villafania
 
PPT
Types of translation
Azhar Bhatti
 
PPT
Translation Types
Elena Shapa
 
PDF
Microsoft - SEO - TAUS Tokyo Forum 2015
TAUS - The Language Data Network
 
PPT
Good Applications of Bad Machine Translation
bdonaldson
 
PDF
Human vs machine translation
Jeff Hernandez
 
PPTX
Machine translation vs human translation
Languages Pro
 
PPTX
Machine Translation: Latest Innovations and their Impact on Commercial Transl...
SDL
 
PDF
Verbos irregulares
sweethinkg
 
PPTX
Contact sheet
Leah Aston
 
PDF
AEM Client Context Customisation
Ankit Gubrani
 
PPTX
AEM 6 - Client Context Personalization
Prabhdeep Singh
 
Types of machine translation
Rushdi Shams
 
Machine Translation: What it is?
Multilizer
 
Machine translation
mohamed hassan
 
Machine Translation
Skilrock Technologies
 
Machine Translation Introduction
nlab_utokyo
 
What is machine translation
Stephen Peacock
 
Machine Tanslation
Mahsa Mohaghegh
 
Techniques in translation, computer assisted, machine translation, subtitling...
Moses Altovar
 
Techniques in Translation
juvelle villafania
 
Types of translation
Azhar Bhatti
 
Translation Types
Elena Shapa
 
Microsoft - SEO - TAUS Tokyo Forum 2015
TAUS - The Language Data Network
 
Good Applications of Bad Machine Translation
bdonaldson
 
Human vs machine translation
Jeff Hernandez
 
Machine translation vs human translation
Languages Pro
 
Machine Translation: Latest Innovations and their Impact on Commercial Transl...
SDL
 
Verbos irregulares
sweethinkg
 
Contact sheet
Leah Aston
 
AEM Client Context Customisation
Ankit Gubrani
 
AEM 6 - Client Context Personalization
Prabhdeep Singh
 
Ad

Recently uploaded (20)

PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Ad

Introduction to Machine translation - AEM