Does Swiftype support searching right to left languages like Hebrew and Arabic?


My site is in Arabic and I want to use Swiftype to do the search and auto-suggest. The search results look good but the autocomplete has the results showing up on the left side. This does not match the rest of the site – it should be on the right for any right to left (RTL) language. How can this be fixed?

Swiftype definitely supports searching and doing autocomplete for RTL (right-to-left) languages like Hebrew and Arabic. The styles in our default CSS would just need to be changed slightly to match your website. To right align the text in the autocomplete dropdown, here is an example of custom styling that you can include in your site theme’s stylesheet:

.swiftype-widget .autocomplete li, .st-ui-type-heading {
  direction: rtl;
  unicode-bidi: bidi-override;
  text-align: right;
  text-align: start !important;