★ GUIDES ★

Kurdish and Arabic websites: how to do right-to-left properly

By Ahmed S. Rasool, Jobs Done | Updated

Kurdish (Sorani) and Arabic are read from right to left. A website that just translates the words but keeps a left-to-right layout looks broken to your customers and confuses Google. Here is what a good Kurdish or Arabic website needs.

Why the layout matters, not just the words

When a page is right-to-left, the whole design flips: the menu, the logo, arrows, lists and the reading order of every block. If only the text is translated, buttons point the wrong way and sentences break in odd places.

The W3C, which writes the web standards, says to set the direction on the html element with dir="rtl" for a right-to-left page, and to always declare the direction with the dir attribute, because the language setting alone does not set it.

Language codes and direction

Use ckb for Sorani, not just ku, so browsers and search engines know exactly which Kurdish you mean.

LanguageCodeDirection
Kurdish (Sorani)ckbRight to left
ArabicarRight to left
Kurdish (Kurmanji, Latin script)kmrLeft to right
EnglishenLeft to right

Checklist for a good Kurdish or Arabic website

  • Set lang and dir on every page: lang="ckb" dir="rtl" for Sorani, lang="ar" dir="rtl" for Arabic.
  • Mirror the layout: menu, logo, arrows, icons with a direction and the order of cards.
  • Use a font that has every Kurdish letter, such as ڕ ڵ ێ ۆ ڤ, so no letter falls back to an ugly default.
  • Keep phone numbers, prices and codes left to right inside the text, so they are not scrambled.
  • Write the text with a person who speaks the language, not only machine translation.
  • Give each language its own address, for example /ku/ and /ar/, with a language switch on every page.

Tell Google about each language

Google uses hreflang links to show each visitor the version in their language. Each version must list itself and all the other versions, and links must go both ways: if the Kurdish page points to the Arabic one, the Arabic page must point back, or Google ignores them.

One catch: hreflang only accepts two-letter language codes, so Sorani pages use hreflang="ku" in these links. Some SEO tools, like Ahrefs, also flag lang="ckb" as invalid, so many sites, this one included, put lang="ku" on the page and keep ckb in the structured data (inLanguage). Google itself ignores the lang attribute and reads the visible text.

Common mistakes

  • Translating the text but leaving the page left to right.
  • One page that switches language with a button but keeps the same address, so Google sees only one language.
  • Using images of text, which Google cannot read and cannot be translated.
  • Fonts that miss Kurdish letters, so some words show in a different font.
  • hreflang links that point one way only.

Already have a website in one language?

You don't always need a new website. If your site is in good shape, the Kurdish or Arabic pages can be added to it as an update. If it is old or slow, a redesign can make more sense, because the new site is built with every language from the start.

With Jobs Done, small updates and translations are priced before we start, and redesigns start at $150.

Questions

What is the language code for Kurdish Sorani?

ckb. Use lang="ckb" with dir="rtl" on Sorani pages. Kurmanji written in Latin letters uses kmr and is left to right.

Can one website have Kurdish, Arabic and English?

Yes. Each language gets its own address, its own text and the right direction, and the pages are linked with hreflang so Google shows the right one. Jobs Done builds websites in Kurdish, Arabic, English, Spanish and Italian.

Is machine translation good enough?

It is a starting point, not a finished text. Customers notice unnatural Kurdish or Arabic at once, so a person who speaks the language should check every page.

Sources

The service behind it

Still have a question? Ask us on WhatsApp.