Websites & portals

How to build and maintain an Arabic and English business website

Plan Arabic and English URLs, hreflang, right-to-left layout, typography, forms and a workflow that keeps both versions current.

When a bilingual website is worth the work

An Arabic website adds work that continues after launch. Each service page, announcement, form instruction, and error message needs someone to write, review, and maintain its Arabic version. Identify the people who will use those pages and what they need to do before deciding how much of the site to translate.

Start with the language your buyers use to find a provider, brief a colleague, or submit an inquiry. If public-sector buyers use Arabic for procurement, they may need Arabic pages to share with colleagues. If you sell to Arabic-speaking customers, check how often they search in Arabic for the services you offer and whether they need the rest of the purchase process in Arabic too. If your buyers are mostly multinational procurement teams that work in English, a full Arabic site may cost more than it returns, and a smaller set of Arabic pages for your main services may be enough.

Some businesses also ask whether the law requires an Arabic version of a commercial website. This guide covers design and content operations. Confirm any legal language requirements for your sector with the relevant authority or a legal advisor before choosing the site’s scope.

Once you decide to go bilingual, decide how far. For a partial translation, point Arabic menus to pages available in Arabic. Label any English-only destination before the reader follows the link.

Give each language its own URL

Search engines and people both need to reach the Arabic version of a page directly. Google's guidance on multilingual sites recommends using different URLs for each language version rather than relying on cookies or browser settings to swap the content. If one URL varies by cookie or browser preference, crawlers may miss a version, and a shared link may open in a different language for the recipient.

The usual choices are a subfolder (example.com/ar/), a subdomain (ar.example.com) or a separate domain. For a company website, a subfolder is normally the easiest to run. Both languages share one CMS, one hosting setup and one certificate, and the structure is obvious to visitors. Google lists URL parameters such as ?lang=ar as not recommended, so avoid them for language.

Google's same guidance also advises against redirecting visitors automatically from one language version to another based on a guess about their language. An English-speaking manager whose phone is set to Arabic should still be able to read the English page. Put a visible language switch on every page and make it point to the equivalent page, not to the other language's home page. Keep the person on the same subject when they switch languages.

Google determines language from visible content. Translate the main content as well as the menus and footer before listing the Arabic version as a separate localized page.

Tell search engines how the versions relate

Hreflang annotations tell Google that two URLs are language versions of the same page, so that it can show each searcher the version in their language. Google accepts three equivalent methods: <link> elements in the page head, HTTP Link headers, or entries in an XML sitemap. Pick one. Google says using more than one gives no benefit, and maintaining two copies of the same data invites mismatches.

Use these rules to check the annotations.

  • Each version must list itself and every other version. Google says that if two pages do not point to each other, the tags will be ignored.
  • Start with a language code such as ar or en. Add a region subtag where needed or specify a script where supported, as in zh-Hant. A region code alone is invalid.
  • An x-default entry can name the page to show when no listed language matches, such as a language selection page.
  • Hreflang does not tell Google what language a page is written in. Google states that it does not use hreflang or the HTML lang attribute for that. The visible text has to be in the language you claim.

In practice, the CMS should generate these tags from a stored link between the two versions of each page. If editors maintain hreflang by hand, it will drift the first time someone renames a page in one language and forgets the other. When you later redesign or move the site, keep these clusters intact. The migration plan in our guide to redesigning without losing search traffic covers how to carry hreflang through a URL change.

Right-to-left layout: what flips and what stays

An Arabic page reads from right to left, and its layout follows. The W3C note on Arabic layout requirements says that when Arabic is the main script, the layout and structure of the page are also set from right to left. The menu starts on the right, the logo usually moves to the right, and the "next" arrow points left.

Set the base direction in HTML. The W3C guidance on right-to-left markup recommends putting dir="rtl" on the html element when the whole page reads right to left. On an Arabic page, set lang="ar" for the language and dir="rtl" for the direction.

Use direction-aware CSS properties such as margin-inline-start and text-align: start. They follow the page direction, so the same stylesheet can serve both languages. Physical properties such as margin-left often need overrides that must be checked whenever a component changes.

Decide by function which elements mirror. Material Design's bidirectionality guidance gives examples of elements that keep their direction.

What mirrors on an Arabic page and what keeps its direction

What mirrors on an Arabic page and what keeps its direction
ElementIn Arabic (RTL)Why
Page layout and menusMirrored, starting on the rightReading order starts on the right
Back and next arrowsMirroredThey point along the reading direction
Text alignmentAligned to the rightFollows the paragraph direction
Numbers and phone numbersNot mirroredDigits run left to right even in Arabic text
Media play controls and progress barsNot mirroredThey describe the media, not the page
Clocks and refresh iconsNot mirroredA clock turns the same way everywhere
Logos, photos and chartsKeep original assets, review chart axes and labelsAn image flip can change the brand, reading order or meaning
Based on Material Design's bidirectionality guidance and the W3C Arabic layout requirements. Check each icon by its meaning, not by a global rule.

Photographs deserve a word. A photo of a person looking toward the content works in English and may look away from it in Arabic. Do not flip the photo, since any text, logo or uniform in it will read backwards. Choose a different crop or image for the Arabic page when the composition matters. A deeper treatment of interface details such as icons, numerals and component behavior is in our guide to Arabic RTL interface design.

Arabic typography on the web

Arabic is a joined script. Letters connect, and many change shape depending on their position in the word. Two consequences matter for web design.

First, preserve the joins between letters. The W3C layout note explains why changing the space between joined characters can distort the script. If an English heading uses letter-spacing: 0.05em, reset the spacing to normal for Arabic.

Second, check height and size. Arabic letters can extend further above and below the baseline than Latin letters. Marks may crowd adjacent lines when styles share the same line height. Two fonts can also look different in size at the same font-size value. Adjust size and line height for each script using real paragraphs.

Choose a font family that has a real Arabic design in the weights you use. Google Fonts serves several Arabic families, including Noto Naskh Arabic, Noto Sans Arabic, Noto Kufi Arabic and IBM Plex Sans Arabic. Naskh styles suit long reading text. Kufi and modern sans styles often suit headings and interface labels. Pair the Arabic font with your English brand font for weight and tone, not for exact shape.

Load the weights you use. Otherwise the browser may simulate bold by thickening strokes or slant a font that lacks an italic face. CSS font synthesis controls can disable both effects in a :lang(ar) rule. Where the design calls for emphasis, keep the semantic <em> markup and style it with a real bold weight or another visible cue that works for Arabic.

Mixed-direction text: brand names, emails and phone numbers

An Arabic paragraph on a company site will contain English brand names, product codes, email addresses, URLs and phone numbers. The browser places them using the Unicode Bidirectional Algorithm, described in Unicode Standard Annex #9. Most of the time it gets the order right. The failures appear at the edges: a phone number whose plus sign jumps to the wrong end, an email address that splits around the @ sign, or a closing parenthesis that lands on the wrong side of an English word.

Context affects the ordering of characters such as spaces and punctuation, which can cause these errors. The standard's remedy is isolation. Since Unicode 6.3 it has encouraged directional isolates over the older embedding controls, and for web pages it recommends markup instead of invisible formatting characters. In HTML, that means wrapping inserted values of unknown direction in <bdi> or giving them dir="auto".

Apply isolation in components that insert values such as a name, company name, or address. Isolate a displayed phone number and set it to left to right. The HTML Standard defines left to right as the default direction for <input type="tel"> without an explicit direction. Check the rendered page and form, since some errors appear only when labels or values wrap.

Forms in two languages

Localize every form label, placeholder, instruction, validation message, and confirmation. Include messages that appear only when something fails. Test them by submitting the Arabic form with deliberate mistakes.

Keyboards that use Arabic script may send ASCII digits (0–9), Arabic-script digits (٠١٢٣٤٥٦٧٨٩, U+0660–U+0669), or the extended set (۰۱۲۳۴۵۶۷۸۹, U+06F0–U+06F9). For phone fields, map supported digits to ASCII before validation and storage. Test all three sets, including numbers pasted from contacts, so a valid number is accepted regardless of digit shape.

Name fields need care too. Some full names do not fit into first and last name fields. If the service only needs a name for correspondence, use a single full-name field with room for longer names. Set dir="auto" on free text fields such as the message box so a visitor can write in either direction. Finally, make sure the person who receives the inquiry can read it. If Arabic inquiries go to an English-only inbox, decide in advance who answers them.

A content workflow that keeps both languages in step

A new service, price, or phone number can go live in one language while the other still shows the old information. Make the follow-up translation visible to the editor who publishes the change.

Decide which language is the source for each type of content. A company might draft service pages in English and prepare Arabic versions afterward. It might draft content for Arabic-speaking agencies in Arabic first. Write the rule down, because translators need to know which version wins when the two disagree.

One change, published in both languages

  1. Edit the sourceThe editor updates the English page and marks it as changed
  2. Translation taskThe CMS opens a task for the linked Arabic page with the changed text
  3. Translate with glossaryThe translator uses the approved terms for services and products
  4. Review in contextAn Arabic reviewer checks the page on screen, not in a spreadsheet
  5. Publish togetherBoth versions go live, or the English change waits for an agreed time
The CMS links the two versions of each page so that a change to one creates visible work on the other.

The CMS should store the two versions as linked records. When the source page changes, the linked page should be marked as out of date, and an editor should see a list of Arabic pages waiting for updates. Many CMS platforms support this through a translation plugin or a built-in localization feature. Ask your vendor to demonstrate it with a real edit.

Keep a glossary. It lists your service names, product names, job titles and recurring phrases, with the approved Arabic term for each. A shared glossary helps different translators use the same name for the same service. Decide also which terms stay in English, such as brand and product names, and how they are written inside Arabic text.

Review each translation on the site with someone who writes Arabic well. Have them read the page, complete its forms, and check how headings and buttons wrap. A translation that reads well in a document can still break a button label or produce a heading that wraps badly.

Testing before launch

Test the Arabic version on real devices with its own checklist.

Arabic launch checks

  • DirectionEvery Arabic page has lang="ar" and dir="rtl" on the html element
  • Language switchEach switch links to the matching page, not to the home page
  • HreflangEach page lists itself and its other version, and the pairs agree
  • Narrow screensLong Arabic labels wrap cleanly on a phone, with no clipped buttons
  • Mixed textPhone numbers, emails and English names display in the right order
  • FormsArabic errors, success messages and all three digit sets work end to end
  • Screen readerHeadings and form labels are read in Arabic on at least one screen reader
Run these checks on staging and again on the live site after launch.

Use final content during testing. Placeholder text does not reveal how real Arabic headings, line heights and mixed-direction phrases behave. Ask for at least the home page, one service page and the contact form to be tested with final Arabic copy before the design is approved. Accessibility checks apply to both languages, and our WCAG 2.2 AA checklist for business websites covers what to test.

Ask each vendor to show a live Arabic site and walk you through an update in both languages. Check whether its stylesheet uses logical properties, how the site generates hreflang, and whether the forms accept the three digit sets. See how we plan and build company websites and redesigns or contact us to discuss your editorial workflow.

Questions buyers ask

Should the Arabic version be on a subdomain, a subfolder or a separate domain?

Google accepts all three when each language has its own URL and the versions are linked with hreflang. A subfolder such as /ar/ is usually the simplest to run because it shares one site, one certificate and one CMS. Consider a separate domain if the Arabic site needs an independent brand, hosting setup, or editorial team.

Can we use automatic translation for the Arabic pages?

Machine translation can produce a first draft, but a person who writes Arabic well should review every page before it is published. Service descriptions, legal text and calls to action carry the most risk. Keep an approved glossary so that product and service names stay the same across pages.

Do we need two designs, one for each language?

No. One design system with logical CSS properties can serve both directions. Design and test key screens in Arabic. Text wraps differently, and some components need adjustments beyond changing direction.

Should the site switch language automatically from the browser setting?

Google advises against redirecting visitors automatically from one language version to another. Show a clear language switch on every page instead, and let it link to the same page in the other language rather than to the home page.

Sources

  1. Google Search Central: Tell Google about localized versions of your page
  2. Google Search Central: Managing multi-regional and multilingual sites
  3. W3C: Arabic & Persian Layout Requirements (Group Draft Note, October 2025)
  4. Unicode Standard Annex #9: Unicode Bidirectional Algorithm
  5. W3C Internationalization: Structural markup and right-to-left text in HTML
  6. WHATWG HTML Standard: The dir attribute
  7. W3C CSS Fonts Module Level 4: Font synthesis
  8. Material Design: Bidirectionality
  9. W3C: CSS Logical Properties and Values

Your next chapter

Let’s build
something useful.

A product to launch. A system to improve.
An idea worth exploring. Start with a conversation.