2 min read

Building an Arabic and English website: what changes beyond translation

Right-to-left layout, typography, forms and search settings: what a bilingual Arabic and English site needs besides translated text.

Translation is the easy part

Many bilingual websites share the same problem: the Arabic version is the English page with Arabic words poured in. The text runs the right way, but arrows point backwards, forms break and search engines show the wrong version. Getting Arabic right is a design and engineering task, and it is easiest when it is planned from the start.

The layout has to mirror

Arabic reads from right to left, so the whole layout mirrors: navigation, columns, progress bars, carousels and any arrow that means "next". The reliable way to build this is with logical CSS properties, which describe the start and end of a line instead of left and right, so one stylesheet serves both directions. Some things should not mirror: logos, photographs, product images, phone numbers and code.

Typography needs its own choices

An Arabic typeface needs good character coverage, comfortable sizes and more generous line spacing than Latin text. Letter spacing that looks refined in English pulls Arabic letters apart, so it should be switched off. Headlines that are animated word by word must never be split into letters, because Arabic letters join.

Mixed text is normal

Arabic pages contain English brand names, email addresses, prices and phone numbers. Each of these needs to be marked as left-to-right so the browser does not reorder it. Numbers need a decision too: Western digits or Arabic-Indic digits, used consistently.

Forms must work in both directions

Labels, error messages and hints need translating, and the layout of every field must mirror. Fields such as email addresses stay left-to-right even on an Arabic page. Error messages should be written for the reader, not translated word for word from a developer's English.

Search engines need to know which page is which

Each language should have its own address, such as /en/ and /ar/, its own title and description, and hreflang tags that tell search engines the pages are translations of each other. The page's language and direction belong in the HTML itself. Without them, the English page can appear in Arabic searches, or the Arabic page can be treated as a duplicate.

Test it like two websites

Check every page in both languages on a phone and on a desktop: text that overflows, Arabic letters that are clipped, icons that point the wrong way and forms that read backwards. Before launch, a native speaker should review the copy for meaning and regional terms. It is the step most often skipped.

This website is built the same way, in English, Arabic and Spanish. If you are planning a bilingual site, our website service explains how we approach it.

Let's make it useful

Share the problem, the people it affects, and what a useful result would look like.

  1. Tell us a little about your project
  2. We review the context and requirements
  3. We agree the most useful next step