What is Apache Joshua Language Packs?
Wiki says "Apache Joshua is a statistical machine translation decoder for phrase-based, hierarchical, and syntax-based machine translation, written in Java". As of now, it has around 64 language packs available.
The new AEM provides smart searches with language translation across AEM content & Assets. This means when we do a search of term 'Man'(English)/'hombre'(Spanish)/'homme'(French) gives the same assets result which avoids the manual content translation.
How it works?
Apache Oak Machine Translation OSGi bundle once installed, helps to check the feasibility of translating a search term utilising registered language packs. On the back-end, the Apache Joshua provides the language packs support.
Steps involved in search translation:
User searches an English/ Non-English term in AEM search box
With the help of registered language packs, the Apache Oak Machine Translation bundle provides a list of translated terms.
Now each translated term is executed as queries to the AEM search index.
The results are collected and displayed to the user
Pre-requisites for adding the functionality.
1) Apache Oak Search Machine Translation OSGi bundle must be installed and configured
2) Apache Joshua language packs(Open source) that contain the translation rules (Specific to our needs; If we need Spanish, we need to install Spanish Language Pack)
How to set up 'Smart Translation Search with AEM Assets?
Download and install the Oak Search Machine Translation OSGi bundle
Download and update the Apache Joshua language packs
Restart AEM - Ensure to update heap memory allocation
Update OSGi configurations - To register the language packs via Apache Jackrabbit Oak Machine Translation Fulltext Query Terms Provider
Where do I get the language packs?
https://cwiki.apache.org/confluence/display/JOSHUA/Language+Packs
Where do I get Apache Oak Search Machine Translation OSGi bundle
Maven Repository
Show me the configuration at OSGi Level:
https://helpx.adobe.com/experience-manager/kt/assets/using/smart-translation-search-technical-video-setup.html
No comments:
Post a Comment
If you have any doubts or questions, please let us know.