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.
Use ckb for Sorani, not just ku, so browsers and search engines know exactly which Kurdish you mean.
| Language | Code | Direction |
|---|---|---|
| Kurdish (Sorani) | ckb | Right to left |
| Arabic | ar | Right to left |
| Kurdish (Kurmanji, Latin script) | kmr | Left to right |
| English | en | Left to right |
- 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.
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.
- 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.
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.