SlideShare uma empresa Scribd logo
1 de 23
Baixar para ler offline
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
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

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

DevOps introduction
DevOps introductionDevOps introduction
DevOps introduction
 
Azure DevOps & GitHub... Better Together!
Azure DevOps & GitHub... Better Together!Azure DevOps & GitHub... Better Together!
Azure DevOps & GitHub... Better Together!
 
Tracing Micro Services with OpenTracing
Tracing Micro Services with OpenTracingTracing Micro Services with OpenTracing
Tracing Micro Services with OpenTracing
 
Complete-NGINX-Cookbook-2019.pdf
Complete-NGINX-Cookbook-2019.pdfComplete-NGINX-Cookbook-2019.pdf
Complete-NGINX-Cookbook-2019.pdf
 
Robot Framework Dos And Don'ts
Robot Framework Dos And Don'tsRobot Framework Dos And Don'ts
Robot Framework Dos And Don'ts
 
Sonarlint
SonarlintSonarlint
Sonarlint
 
Prometheus Storage
Prometheus StoragePrometheus Storage
Prometheus Storage
 
CATOOLS-Zarate.pptx
CATOOLS-Zarate.pptxCATOOLS-Zarate.pptx
CATOOLS-Zarate.pptx
 
CICD Mule
CICD Mule CICD Mule
CICD Mule
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
Techniques for translation
Techniques for translationTechniques for translation
Techniques for translation
 
Angular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web ApplicationsAngular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web Applications
 
Distributed Locking in Kubernetes
Distributed Locking in KubernetesDistributed Locking in Kubernetes
Distributed Locking in Kubernetes
 
Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023
Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023
Anatomy of a Spring Boot App with Clean Architecture - Spring I/O 2023
 
Fetch API Talk
Fetch API TalkFetch API Talk
Fetch API Talk
 
Guía para utilizar OmegaT
Guía para utilizar OmegaTGuía para utilizar OmegaT
Guía para utilizar OmegaT
 
Translation procedures
Translation proceduresTranslation procedures
Translation procedures
 
Design Patterns
Design PatternsDesign Patterns
Design Patterns
 
MuleSoft Sizing Guidelines - VirtualMuleys
MuleSoft Sizing Guidelines - VirtualMuleysMuleSoft Sizing Guidelines - VirtualMuleys
MuleSoft Sizing Guidelines - VirtualMuleys
 
Selenium IDE
Selenium IDESelenium IDE
Selenium IDE
 

Destaque

Types of machine translation
Types of machine translationTypes of machine translation
Types of machine translation
Rushdi Shams
 
Techniques in Translation
Techniques in TranslationTechniques in Translation
Techniques in Translation
juvelle villafania
 
Machine translation vs human translation
Machine translation vs human translationMachine translation vs human translation
Machine translation vs human translation
Languages Pro
 
AEM 6 - Client Context Personalization
AEM 6 - Client Context Personalization AEM 6 - Client Context Personalization
AEM 6 - Client Context Personalization
Prabhdeep Singh
 

Destaque (20)

Types of machine translation
Types of machine translationTypes of machine translation
Types of machine translation
 
Machine Translation: What it is?
Machine Translation: What it is?Machine Translation: What it is?
Machine Translation: What it is?
 
Extending Machine Translation in AEM
Extending Machine Translation in AEMExtending Machine Translation in AEM
Extending Machine Translation in AEM
 
Machine translation
Machine translationMachine translation
Machine translation
 
Machine Translation
Machine TranslationMachine Translation
Machine Translation
 
Machine Translation Introduction
Machine Translation IntroductionMachine Translation Introduction
Machine Translation Introduction
 
What is machine translation
What is machine translationWhat is machine translation
What is machine translation
 
Machine Tanslation
Machine TanslationMachine Tanslation
Machine Tanslation
 
Techniques in Translation
Techniques in TranslationTechniques in Translation
Techniques in Translation
 
Types of translation
Types of translationTypes of translation
Types of translation
 
Translation Types
Translation TypesTranslation Types
Translation Types
 
Microsoft - SEO - TAUS Tokyo Forum 2015
Microsoft - SEO - TAUS Tokyo Forum 2015Microsoft - SEO - TAUS Tokyo Forum 2015
Microsoft - SEO - TAUS Tokyo Forum 2015
 
Good Applications of Bad Machine Translation
Good Applications of Bad Machine TranslationGood Applications of Bad Machine Translation
Good Applications of Bad Machine Translation
 
Human vs machine translation
Human  vs machine translationHuman  vs machine translation
Human vs machine translation
 
Machine translation vs human translation
Machine translation vs human translationMachine translation vs human translation
Machine translation vs human translation
 
Machine Translation: Latest Innovations and their Impact on Commercial Transl...
Machine Translation: Latest Innovations and their Impact on Commercial Transl...Machine Translation: Latest Innovations and their Impact on Commercial Transl...
Machine Translation: Latest Innovations and their Impact on Commercial Transl...
 
Verbos irregulares
Verbos irregularesVerbos irregulares
Verbos irregulares
 
Contact sheet
Contact sheetContact sheet
Contact sheet
 
AEM Client Context Customisation
AEM Client Context CustomisationAEM Client Context Customisation
AEM Client Context Customisation
 
AEM 6 - Client Context Personalization
AEM 6 - Client Context Personalization AEM 6 - Client Context Personalization
AEM 6 - Client Context Personalization
 

Semelhante a Introduction to Machine translation - AEM

Basic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptxBasic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptx
CoolGamer16
 
Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
crAmth
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
Mohamed Omar
 
C Programming Lecture 1 - Introduction to C.pptx
C Programming Lecture 1 - Introduction to C.pptxC Programming Lecture 1 - Introduction to C.pptx
C Programming Lecture 1 - Introduction to C.pptx
Murali M
 

Semelhante a Introduction to Machine translation - AEM (20)

Week 08_Basics of Compiler Construction.pdf
Week 08_Basics of Compiler Construction.pdfWeek 08_Basics of Compiler Construction.pdf
Week 08_Basics of Compiler Construction.pdf
 
Managing Translation Workflows in Drupal 7
Managing Translation Workflows in Drupal 7Managing Translation Workflows in Drupal 7
Managing Translation Workflows in Drupal 7
 
Basic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptxBasic Introduction of C Lecture 1[16096].pptx
Basic Introduction of C Lecture 1[16096].pptx
 
Compilers.pptx
Compilers.pptxCompilers.pptx
Compilers.pptx
 
Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 
An intuitive guide to combining free monad and free applicative
An intuitive guide to combining free monad and free applicativeAn intuitive guide to combining free monad and free applicative
An intuitive guide to combining free monad and free applicative
 
Go fundamentals
Go fundamentalsGo fundamentals
Go fundamentals
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Language translator
Language translatorLanguage translator
Language translator
 
Interpreted and compiled language
Interpreted and compiled languageInterpreted and compiled language
Interpreted and compiled language
 
Going Global WordPress Multilingual
Going Global WordPress MultilingualGoing Global WordPress Multilingual
Going Global WordPress Multilingual
 
Lecture 12
Lecture 12Lecture 12
Lecture 12
 
C Programming Lecture 1 - Introduction to C.pptx
C Programming Lecture 1 - Introduction to C.pptxC Programming Lecture 1 - Introduction to C.pptx
C Programming Lecture 1 - Introduction to C.pptx
 
Debugging 2013- Lars pedersen
Debugging 2013- Lars pedersenDebugging 2013- Lars pedersen
Debugging 2013- Lars pedersen
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Introduction to Machine translation - AEM