Using Smart Translation Search with AEM Assets using-smart-translation-search-with-aem-assets
Smart Translation Search enables cross-language search and discovery automatically across AEM content, both Assets and Pages, supporting more than 50 languages and reducing the need for manual content translation.
Transcript
I want to quickly show you - Smart Translation Search, introduced in AEM 6.4. Smart Translation Search - is a great new technology that facilitates cross - language search and discovery - automatically in AEM. Eliminating the need - for manual translation and supporting more - than 50 languages. So let me show - you what I mean. So I’ll head over - to AEM Assets and I’ll perform a full text - search for the term Running. So as you can see, I have a - number of results for running and if I click into - one of my results, we can see I have the English - term running in my metadata. I also have the term running - applied through my AEM Smart tags. It’s worth noting that Smart Tags - and Smart Translation Search are a great pair, as Smart Tags - today only supports English terms. So let’s head back to our search, - instead of the English term, let’s try the Spanish word for - running and see what we get.
Predictably we - have no results. And that’s because the Spanish term - is nowhere on any of our Assets. All our Assets are using - the English term Running. Let’s see how we can - rectify this, without actually translating - all our content. To do this, I’m going to enable - Smart Translation Search. I’ll head over to - my Web Console and I’ll configure a Spanish to - English translation for Assets. Check out below this - video for a link to the complete - setup instructions, for setting up Smart - Translation Search with AEM. We can save our changes to enable - the Spanish to English translation. Heading back to AEM, I will - search again for our Assets, using the Spanish - term for running. And as you can see, we have - a number of results for the Spanish word for - running, even though this term running is only in - English on these Assets. If I click into our Asset, - only the English term as part of this Asset - or the Asset metadata.
We can perform other - searches for Spanish words, such as hombre for man, or - the Spanish term for woman. Smart Translation Search even - supports extended characters, so we can do things like search - for the Spanish term mountain.
So as you can see, this is - a very powerful tool, that allows users of the - AEM to search for and discover Assets automatically - in various languages. The supported translations are made - available through the Apache Joshua Projects language packs. The Apache Joshua project - is an open source project and it provides over - 50 language packs, providing translations for - a variety of languages. -
AEM Smart Translation Search allows users to perform searches for content in AEM using non-English terms, to match the assets in AEM that have equivalent English terms on them.
Smart Translation Search is a perfect compliment to AEM Smart Tags which are applied to assets in English.
This video assumes AEM Smart Translation Search has been set up.
How Smart Translation Search works how-smart-translation-search-works
- AEM user performs a full-text search, providing a localized search term (Eg. the Spanish term for ‘man’, ‘hombre’).
- The Smart Translation Search, provided by the Apache Oak Machine Translation OSGi bundle, is engaged and evaluates if the provided search terms can be translated using the registered Language Packs.
- All translated terms from Step #2 are collected, and the query is augmented internally to include them as search terms. This augmented set of search terms if evaluated normally against AEM’s search indexes locating relevant matches.
- The search results that match the original term (‘hombre’) or the translated term (‘man’) are collected and returned the user as the search results.
Additional Resources additional-resources
recommendation-more-help
a483189e-e5e6-49b5-a6dd-9c16d9dc0519