An Arabic store can be fully translated and still look wrong. An arrow points the wrong way, a phone number jumps to the other end of a sentence, or the letters on a button look cut into pieces. Customers often notice this quickly, even if you cannot read the page yourself.
This guide is the layout, type and search-box check for owners who sell in Arabic on Shopify or on a website. Our guides on what to plan before design starts and how people search in Arabic cover the plan and Google. This one covers the page and your own search box.
Set direction and language in the page code
Two settings matter on every Arabic page: direction (the dir attribute) and language (the lang attribute). The language tag does not decide direction, so you set both. W3C says to set dir="rtl" on the html element when the whole page is right to left, and to set direction in the markup, not in CSS, so it is still there when the CSS is not.
For Kurdish Sorani, W3C advises the more specific language code in most cases, with exceptions for backward compatibility. Kurdish as a whole is ku, and ckb is Central Kurdish, which Wikipedia says is also known as Sorani. Our Arabic and Kurdish WordPress guide explains the choice, and the hreflang guide covers the search side. To test, view the source of an Arabic page and read the opening html tag. If dir or lang is missing or wrong, tell your developer.
What should mirror and what should not
Mirroring does not mean flipping everything. The Wikimedia design system guide gives a split; treat it as one system's rules.
- Mirror: text alignment, icons with a horizontal direction such as next and previous arrows, icons that contain lists, and progress steps.
- Do not mirror: clock and calendar icons, check marks, play and pause controls, numbers including phone numbers, currency symbols, web and email addresses, and images and illustrations.
The guide also says to use the left-to-right version of certain icons in some right-to-left languages, and gives the question mark in Hebrew versus Arabic as its example. Ask your designer to list every icon with a direction and decide each one.
Mixed text needs one more step. A phone number, an English brand name or a part number inside an Arabic sentence can land in the wrong place, especially when it begins with a number or is followed by one. W3C's article on inline bidirectional text says to wrap such a phrase tightly in an element that sets its direction, such as dir="ltr", and to use dir="auto" or the bdi element when the direction is not known in advance. With dir="auto" the browser reads the first strongly directional character, and W3C warns this is not foolproof.
Prices need a look too. W3C's draft layout note says numbers, even Arabic ones, are written from left to right, and has a section on where currency signs go. Check a discounted price in the product card and in the cart.
Logical CSS: what to ask your developer
Older stylesheets use left and right. CSS logical properties use start and end, and the browser maps them to the correct side for the current direction. MDN's example: margin-inline-start is the left margin on a left-to-right page and the right margin on a right-to-left page, so spacing written this way switches sides with the direction.
MDN cautions that the four-value shorthands such as margin and padding still use physical sides, so developers should use the logical longhands. Ask whoever does your web development, in-house or at an agency:
- Does the theme use logical properties or a separate right-to-left stylesheet, and who maintains it?
- Do custom sections, sliders and apps still work when mirrored?
Numbers: pick one digit style
W3C's draft Arabic layout note describes three digit families: European digits 0 to 9, Arabic-Indic digits and Eastern Arabic-Indic digits. It ties them loosely to places, such as Arabic-Indic digits to Egypt, Saudi Arabia and Iraq, and says there is no clear line between east and west. Ask your own customers which they expect, then use that style the same way everywhere.
- Choose one style for prices, quantities, phone numbers and order numbers, and check it in the listing, cart, checkout, order email and invoice.
- Type digits in both styles into the search box and the phone and postcode fields. Does each field accept, convert or reject them?
Fonts for Arabic
Google Fonts has several families with Arabic letters. Three we checked: Cairo, whose description says it extends a Latin family to Arabic with a design based on the Kufi calligraphic style; Noto Sans Arabic, described as an unmodulated sans serif design; and Noto Naskh Arabic, described as a modulated Naskh design. Set your own words in each before you choose.
Google says its fonts are open source and can be used in commercial projects. The google/fonts repository on GitHub says most use the SIL Open Font License 1.1, some use Apache 2, and each family folder holds its licence file. This is general information, not legal advice: read the licence file of every font you add.
Three type checks to run alongside the choice of font:
- Size and line height. W3C notes that Arabic ascenders and descenders reach much further than Latin ones, and that fonts differ in how high they set short vowel marks. Do not assume the English line height will fit. Test real copy, with marks, on a small phone and look for lines that touch or clip.
- Letter spacing. MDN says Arabic script expects connected letters to stay connected, and added spacing can make text look broken. W3C adds that when Arabic is stretched, the line between joined letters is extended, which differs from Latin letter spacing. Some themes add spacing to buttons and headings, so ask your developer to reset it for Arabic.
- Mixed text. Check that Latin brand names and model numbers do not fall back to a mismatched font.
Kurdish Sorani is written in a modified Perso-Arabic script, so an Arabic font may miss some Sorani letters. Wikipedia's article on Kurdish alphabets has a table of Sorani letters that includes ڕ, ڵ, ۆ, ێ and ە. It also says the Kurdistan Region standard uses the kaf ک rather than ك, which some people still use. Test a Sorani sentence with those letters in the font's sample box and on a test product page, and look for empty boxes or letters in another font. Do not assume coverage: the Cairo description names Arabic, Farsi and Urdu, not Kurdish.
Shopify: what to check
The theme. Shopify says your active theme must be compatible with languages, and that the latest versions of its Horizon family of themes support right-to-left languages such as Arabic, Hebrew and Urdu. Its 27 March 2024 announcement of automatic Arabic and Hebrew translation also told owners to confirm that any other theme supports right-to-left text, and said the Theme Store can be filtered by that feature.
Checkout and emails. Shopify lists Arabic among the languages with translations for checkout and for the default content of its own themes. Checkout follows the language the customer browsed in. Order emails use the order language, but only if a translation of that email exists. Place a test order and read both.
Addresses and handles. Each published language gets its own URLs, as subfolders or subdomains. The word products in the address cannot be translated, but the rest can. Automatic translation does not cover URL handles, so you add each translated handle by hand in Translate & Adapt, and Shopify redirects the default-language address to it. Decide early whether product handles will be Arabic or English. Shopify announced in 2017 that handles can use the full UTF-8 character set, but one community member reported some accented Latin letters being converted to plain ones, so save a test product with an Arabic handle and check the result. Product tags cannot be translated, so filters built on tags may show one language.
Store search in Arabic
Shopify's page on search behaviour says that in each of 33 listed languages, search matches other word forms and many misspellings. Arabic, Kurdish, Hebrew and Persian do not appear on the page, and the page has no date. That does not prove Arabic search is weak. It means that page does not tell you, so test it yourself.
Predictive search, the suggestions shown as a visitor types, is separate. Shopify's help page says it is not available in all languages and points to developer documentation for the list. That list has 45 languages and Arabic is not among them. Ask your developer what your theme shows an Arabic visitor: do suggestions appear, and does a full search still work?
Synonyms are a tool you control. In the Search & Discovery app, Shopify treats the terms in a synonym group as exact matches for one another. A synonym can be up to five words, a group holds up to 20 synonyms, and a store can have up to 1,000 in total. The page states no language limit. Use synonyms for the gaps your tests find. Questions to test on your own search box:
- Do different alef forms (أ, إ, آ and ا) all find the product?
- Are results the same with and without the small vowel marks?
- Try endings people mix up: taa marbuta ة against haa ه, and yaa ي against alef maqsura ى.
- Does adding or dropping the definite article ال change the results?
- Does a brand name work in Arabic letters and in Latin letters?
- For Sorani stores, does ک find what ك finds?
Testing checklist
- A native reader goes through the whole journey and notes every problem, not only the translation.
- Use real phones, at least one iPhone and one Android, on mobile data.
- Test long product names: an Arabic title with an English model code, and your longest title, in the product card, cart and checkout.
- Test form fields: type Arabic into name, address and notes, then a phone number and an email address, and read the errors.
- Place a test order. Read the confirmation email on a phone and on a desktop, and check the last checkout step, including any payment provider page.
- Run the search questions above, and share one product link in a chat message and an email.
Need a hand?
If you are planning an Arabic or bilingual store, see our web development and Shopify solutions pages, or send a short brief on the contact page with your languages, your theme and the pages you worry about. For the plan behind this work, read Arabic and English on one store.
Sources
- W3C: Structural markup and right-to-left text in HTML: dir and lang on the html element, direction set in markup rather than CSS, dir=auto and its limits (checked 3 November 2026)
- W3C: Inline markup and bidirectional text in HTML: phone numbers and product names inside right-to-left text; dir, dir=auto and the bdi element (checked 3 November 2026)
- W3C: Can we derive base direction from language?: why the lang attribute does not set direction (checked 3 November 2026)
- W3C: Choosing a language tag: more specific subtag in most cases, with exceptions for backward compatibility; ckb listed as Central Kurdish under ku (checked 3 November 2026)
- W3C: Arabic and Persian Layout Requirements (Group Draft Note, 2 October 2025): digit families and regions, numbers written left to right, currency sign placement, letter joining and stretching, ascenders and descenders, vowel mark heights; a draft note, work in progress (checked 3 November 2026)
- MDN: Logical properties for margins, borders, and padding: how margin-inline-start maps to left or right; four-value shorthands stay physical (page last modified 7 November 2025) (checked 3 November 2026)
- MDN: letter-spacing: Arabic script expects connected letters to stay connected; letter spacing can make text look broken (page last modified 10 September 2026) (checked 3 November 2026)
- Wikimedia Codex: Bidirectionality: which icons and elements mirror in right-to-left layouts and which do not (one design system's rules; no date on the page) (checked 3 November 2026)
- Google Fonts on GitHub: Cairo description: Cairo extends a Latin family to Arabic; the Arabic set supports Arabic, Farsi and Urdu; Kufi-based design; Kurdish not mentioned (checked 3 November 2026)
- Google Fonts: Noto Sans Arabic: described as an unmodulated sans serif design (only the page description was readable, cut off mid-sentence) (checked 3 November 2026)
- Google Fonts: Noto Naskh Arabic: described as a modulated Naskh design (only the page description was readable, cut off mid-sentence) (checked 3 November 2026)
- Google for Developers: Google Fonts: fonts are released under open source licences and can be used in commercial projects (checked 3 November 2026)
- GitHub: google/fonts README: most fonts use the SIL Open Font License 1.1, some Apache 2, Ubuntu fonts the Ubuntu Font License; licence file in each family folder (checked 3 November 2026)
- Wikipedia: Kurdish alphabets: Sorani letter table (secondary source; no edit date shown), modified Perso-Arabic script, kaf ک versus ك note (checked 3 November 2026)
- Wikipedia: Sorani: Central Kurdish is also known as Sorani; ISO 639-3 code ckb (secondary source; no edit date shown) (checked 3 November 2026)
- Shopify Help Center: requirements for selling in multiple languages: theme compatibility, Horizon themes and right-to-left, Arabic among languages with checkout and default theme translations, language URLs, product tags and the word products in addresses (page undated) (checked 3 November 2026)
- Shopify Help Center: languages: each published language gets its own URLs (page undated) (checked 3 November 2026)
- Shopify Changelog: support for auto-translating Arabic and Hebrew in Translate & Adapt: 27 March 2024 announcement; check the theme supports right-to-left; Theme Store right-to-left filter (checked 3 November 2026)
- Shopify Help Center: checkout and notifications in other languages: checkout language follows the language browsed; emails use the order language if a translation exists (page undated) (checked 3 November 2026)
- Shopify Help Center: manual translation in Translate & Adapt: URL handles are not translated automatically; redirect from the default language address (page undated) (checked 3 November 2026)
- Shopify developer changelog: full UTF-8 character set for tags and handles: handles may use non-ASCII characters (announced for 24 July 2017) (checked 3 November 2026)
- Shopify Community: product handles with international characters are transliterated for some languages: a community member's report (22 November 2021), not Shopify staff; Arabic not mentioned (checked 3 November 2026)
- Shopify Help Center: storefront search behavior: in each of 33 listed languages search matches word forms and many misspellings; Arabic, Kurdish, Hebrew and Persian are not on the page (page undated) (checked 3 November 2026)
- Shopify Help Center: predictive search: predictive search is not available in all languages; list is in the developer documentation (page undated) (checked 3 November 2026)
- Shopify developer docs: Predictive Search API reference: list of 45 supported languages; Arabic not in the list (page undated) (checked 3 November 2026)
- Shopify Help Center: modifying search in Search & Discovery: synonym groups: exact-match treatment, up to 5 words per synonym, 20 per group, 1,000 per store, no language limit stated (page undated) (checked 3 November 2026)
