Search Component for different languages | Community
Skip to main content
sursharma
New Participant
Apr 13, 2022 4:50 PM UTC
Solved

Search Component for different languages

Not able to search arabic or other language fulltext using out of box search component- foundation/components/search

Any code change to do in search.jsp to make it work with all languages?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
milind_bachani
milind_bachaniAccepted solution
Employee
Apr 13, 2022 6:15 PM UTC

Hi @sursharma ,

The OOTB search works on query-builder, so it will search for query you are entering for the given content path.
Did you check if it is working for other languages, since arabic language is RTL(Right - to - Left) and might be causing issues. Check for normal LTR languages other than en.

However, can you also check by leveraging core search component instead :
https://github.com/adobe/aem-core-wcm-components/tree/main/content/src/content/jcr_root/apps/core/wcm/components/search/v2/search

Thanks.

1 reply

milind_bachani
milind_bachaniAccepted solution
Employee
Apr 13, 2022 6:15 PM UTC

Hi @sursharma ,

The OOTB search works on query-builder, so it will search for query you are entering for the given content path.
Did you check if it is working for other languages, since arabic language is RTL(Right - to - Left) and might be causing issues. Check for normal LTR languages other than en.

However, can you also check by leveraging core search component instead :
https://github.com/adobe/aem-core-wcm-components/tree/main/content/src/content/jcr_root/apps/core/wcm/components/search/v2/search

Thanks.

Translate