GL—JRN 006Arabic

Arabic website checklist: RTL sites that don't feel translated

Many Arabic business sites are the English one, flipped and machine-translated. A checklist for Arabic and bilingual websites that read naturally.

G Labs Digital Published 4 min read اقرأ المقال بالعربي

For a lot of businesses in Egypt, the Arabic version of the website is an afterthought: the English site, flipped, run through a translator, with Latin fonts trying to render Arabic. Customers notice in seconds. It reads like a manual, not like you.

A good Arabic site isn’t a mirror of the English one. It’s built for Arabic readers from the start. Here’s the checklist we use.

1. Set the direction properly — in HTML, not CSS

The W3C’s guidance is clear: if a page is mainly right-to-left, add dir="rtl" to the <html> tag, together with the right language (lang="ar"). That single attribute right-aligns blocks and makes mixed Arabic/English text flow correctly. The W3C also advises not to use CSS to set the base direction — direction is part of the content’s meaning, so it belongs in the markup.

Use dir on smaller elements only where the direction genuinely changes — an English quote inside an Arabic page, for example.

2. Build the layout with logical directions

If the CSS says “margin-left” and “text-align: left” everywhere, the Arabic version needs a second set of rules to undo them — and something is always missed. Modern CSS has logical properties (margin-inline-start, padding-inline-end, text-align: start) that follow the reading direction automatically. One layout, both languages, nothing forgotten.

3. Mirror what has meaning — not everything

  • Mirror: arrows that mean “next” or “back”, progress bars, breadcrumbs, the order of steps, the position of the menu.
  • Don’t mirror: logos, play buttons, clocks, checkmarks, phone and WhatsApp icons, charts with a time axis, and photographs.

A “next” arrow that points left in English must point right in Arabic. A logo flipped backwards just looks broken.

4. Handle mixed text carefully

Arabic pages are full of English words, brand names, prices, phone numbers and dates. W3C’s inline-text guidance is to wrap each opposite-direction phrase tightly in its own element with a dir attribute, or use <bdi> when you don’t know the direction in advance (for example, a name a user typed). This is what stops a phone number like +20 15 51265519 from scrambling, or a price ending up on the wrong side of its currency.

5. Use a real Arabic typeface

Many fonts have no Arabic characters, so the browser falls back to whatever the phone has — and your brand typography disappears on the Arabic side. Choose a family that was designed for Arabic (or has a proper Arabic companion), load only the weights you use, and serve the Arabic subset separately so English visitors don’t download it.

Two practical rules:

  • No letter-spacing on Arabic. Spacing out letters breaks the joins in Arabic script.
  • Give it more line-height than English. Arabic letterforms have taller ascenders and deeper descenders.

6. Decide on numerals — then be consistent

Egyptian readers are comfortable with both Western digits (1, 2, 3) and Arabic-Indic digits (١، ٢، ٣). Pick one style for running text and stick to it. Keep phone numbers, prices in forms and anything a customer might copy in Western digits, because that’s what their keyboard and WhatsApp expect.

7. Write, don’t translate

The biggest difference isn’t technical. Machine translation produces correct-ish Modern Standard Arabic that sounds like a government notice — and Google’s own guidance on multilingual sites warns that a poor or artificial-sounding translation can harm how people perceive your site. Decide on a voice:

  • Modern Standard Arabic reads as formal and works across the Arab world.
  • Egyptian Arabic reads as warm and local — ideal for clinics, restaurants, services and anything that wants to feel like a conversation.

Many brands mix them sensibly: Egyptian Arabic for headlines and buttons, simpler standard Arabic for legal and medical details. Either way, someone who writes Arabic well should write the copy — not translate the English sentence by sentence.

8. Forms that work in Arabic

  • Labels and error messages in Arabic, positioned on the correct side.
  • Phone and email fields forced to left-to-right, so typing a number doesn’t jump around.
  • Validation that accepts Arabic names.
  • A confirmation message that is also in Arabic — this is often forgotten.

9. Tell Google both versions exist

Give the Arabic pages their own URLs (for example /ar/…), link each language version to the other with hreflang annotations, and put a visible language switch on every page that goes to the same page in the other language — not back to the homepage. Google’s documentation on localized versions explains the hreflang setup.

10. Test on a real phone, in Arabic

Read the Arabic site start to finish on an actual phone. Check that the menu opens from the correct side, nothing overflows, numbers read correctly and every button label fits. Most RTL bugs are only visible when you actually use it.


This website is built exactly this way: switch to Arabic at the top of any page and you land on the same page, written — not translated — in Egyptian Arabic. If you need an Arabic or bilingual site, see our services or send us your current site for a free check.

Related: Clinic website checklist · Website launch checklist.

Frequently asked questions

Should I set right-to-left direction in HTML or CSS?

In HTML. W3C guidance is to put dir="rtl" and lang="ar" on the html element for a mainly right-to-left page, and not to use CSS to set the base direction.

Should an Arabic website use Egyptian Arabic or Modern Standard Arabic?

It depends on the voice. Modern Standard Arabic reads as formal and works across the Arab world; Egyptian Arabic reads as warm and local. Many brands use Egyptian Arabic for headlines and buttons and simpler standard Arabic for legal or medical details.

Is machine translation good enough for the Arabic version?

We do not recommend it. Google’s guidance on multilingual sites warns that a poor or artificial-sounding translation can harm how people see your site. Have someone who writes Arabic well write the copy.

Sources

Every figure in this article comes from the sources below. Checked on the publish date.

  1. Structural markup and right-to-left text in HTML — W3C Internationalization www.w3.org/International/questions/qa-html-dir
  2. Inline markup and bidirectional text in HTML — W3C Internationalization www.w3.org/International/articles/inline-bidi-markup
  3. dir (global attribute) — MDN Web Docs developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/dir
  4. Managing multi-regional and multilingual sites — Google Search Central developers.google.com/search/docs/specialty/international/managing-multi-regional-sites
  5. Tell Google about localized versions of your page (hreflang) — Google Search Central developers.google.com/search/docs/specialty/international/localized-versions