The key points
- The base direction belongs in the HTML (dir="rtl" on the html element), not in CSS, and the page language goes in lang.
- Logical CSS properties such as margin-inline-start and text-align: start flip with the page, so one stylesheet serves both languages.
- Each language gets its own URL, and every version lists itself and all the others with hreflang.
- A wa.me link with a pre-filled message opens the chat; after that, free-form replies work inside a 24-hour window and templates are needed outside it.
Is an Arabic version just a translation of the English site?
No. Arabic reads right to left, so the whole page mirrors: navigation order, the side a drawer opens from, form label alignment, breadcrumbs, carousels and icons that imply direction. Translated copy placed into an unchanged English layout reads as a patch, and Arabic readers notice it at once.
The foundation is two attributes on the root element. The W3C's guidance on the dir attribute says to add dir="rtl" to the html tag any time the overall document direction is right to left, and not to use CSS to apply base direction in HTML pages, so the direction stays available when CSS does not load. The W3C's language declaration guidance says to always use a language attribute on the html tag, and to put a language attribute on an element that surrounds content in another language.
How do you build the layout so it mirrors cleanly?
Write spacing and alignment with logical properties, not left and right. The W3C's CSS Logical Properties specification explains that logical terms such as start and end map to physical sides through writing mode and direction. Its own examples: margin-inline-start is margin-left in a Latin script and margin-right in Arabic, and text-align: start is left in Latin and right in Arabic.
With logical properties, one stylesheet serves both languages. Fixed left and right values are the usual reason an English template breaks when mirrored, and they are the first thing an audit of an existing site looks for. Where the old build uses them everywhere, rebuilding the templates costs less than patching each one.
Directional icons, such as arrows and back chevrons, flip. Logos, play buttons and clocks do not. A design review with Arabic content on real screens settles which is which; filler text hides line-length and font problems that real copy exposes.
How do English names, numbers and phone numbers sit inside Arabic text?
Mixed-direction text is where right-to-left pages usually go wrong. A product code, an English brand name or a phone number inside an Arabic sentence can reorder, with punctuation landing on the wrong side. The same W3C dir guidance says the auto value of the dir attribute and the bdi element handle inserted text whose direction is not known in advance.
In practice, wrap user-entered values, names pulled from a database and phone numbers in bdi, or give the element dir="auto". Test with a name such as an English company in the middle of an Arabic sentence, a number followed by a full stop, and a long email address, because those three break first.
Should Arabic and English have separate URLs?
Yes. Google Search Central's guide to localized versions says to tell Google about the variations of a page with hreflang annotations. Each language version must list itself and all other versions, and if two pages do not point to each other, the tags are ignored. The reserved x-default value covers visitors whose browser setting matches no version, such as a language selector page.
The same guide notes that Google does not rely on hreflang or the lang attribute to detect a page's language, so the Arabic page needs genuinely Arabic content, and that localized versions count as duplicates only when the main content stays untranslated. Separate paths such as /ar/ and /en/ also let a visitor share a link that opens in the language they were reading.
How should the WhatsApp button work on the page?
WhatsApp's click to chat guidance describes links of the form wa.me followed by the full phone number in international format, with no leading zero, plus sign, spaces, brackets or dashes (a local number 050 123 4567 becomes wa.me/971501234567). Adding ?text= with URL-encoded text pre-fills the message in the chat's text field, and no saved contact is needed.
So the Arabic page links with an Arabic pre-filled message and the English page with an English one. Put the page or product name into the text, for example the name of the service the visitor was reading, and your team sees at a glance what the enquiry is about. A short reference code in the text lets the CRM match the chat to the page it came from.
The button belongs beside the form, not instead of it. Some visitors want to write a paragraph and attach a file; others want a one-line question. Both routes should land in the same lead list, which is what how a click-to-WhatsApp enquiry becomes a CRM lead walks through for ads.
What are the rules after the visitor sends the first message?
Meta's documentation on sending service messages says a customer service window opens when a user messages you, and resets to 24 hours with each further message. Inside it, free-form replies need no template. Outside it, only pre-approved template messages work, and you can only send to people who have opted in.
Meta's template overview adds that each template carries a category (authentication, marketing or utility), must be approved before sending, and is created in one language code. Meta does not translate your template text, so the Arabic and English versions are separate translations of the template, each submitted and approved.
The WhatsApp Business Messaging Policy puts the opt-in method on the business, asks for opt-in that confirms the person wants subsequent messages, and requires respecting requests to block, discontinue or opt out. The visitor who taps your wa.me link and writes first has started the conversation. A follow-up days later, outside the window, needs a template and an opt-in you can show.
To keep one number for staff chats and automation together, read the WhatsApp Business app versus the API.
How does Softivum run a bilingual build?
Projects run remotely against a written scope that lists both languages, the pages in each, who supplies the Arabic copy and who reviews it. The weekly demo shows the site in both directions on real phones, and the Arabic reviewer named in the scope signs off wording before launch. Hosting and the WhatsApp Business account are created in your company's name. Your legal adviser confirms which UAE data protection regime applies to your trade licence before the enquiry form and privacy notice are written (the UAE page covers the working model), and a contract and a data processing agreement are signed before any customer data is touched.
The build sits in website development, with workflow automation for the follow-up flow and an AI chatbot where you want first replies in either language. It costs least when the Arabic version is decided at the start. The data side of the same build, including consent, notices and data sent abroad, is covered in what the UAE PDPL requires of a business website.
Ways to serve Arabic and English visitors
| Approach | What happens | When it fits |
|---|---|---|
| Machine-translated overlay on one URL | Text swaps in the browser; layout stays left to right; one URL for search | A temporary stopgap while real pages are written |
| Separate Arabic URLs, shared components, dir="rtl" | Pages mirror from one stylesheet; each language indexed with hreflang | A business that wants Arabic enquiries and search visibility |
| Fully separate Arabic site | Two codebases and two content teams | Rarely; doubles maintenance for little gain |
How do you add Arabic and WhatsApp to a business site?
Audit the templates
Find fixed left and right values and convert them to logical properties, or decide the templates are rebuilt.
Set direction and language
Put dir and lang on the html element for each version, and mark inline passages in another language.
Create language URLs
Give Arabic and English separate paths, add hreflang on every version and an x-default for a selector page.
Write real Arabic content
Use real copy reviewed by a native reader, and test names, numbers and punctuation inside Arabic sentences.
Add the WhatsApp link
Add a wa.me link per language with a pre-filled message that names the page.
Connect the follow-up
Log each chat as a lead with its source page, set an opt-in line, and approve one Arabic and one English template.
Bilingual UAE site checklist
- dir and lang are set on the html element of each language version.
- Spacing and alignment use logical properties, with no stray left or right values.
- Names, numbers and phone numbers inside Arabic text are wrapped in bdi or set to dir="auto".
- Arabic and English have separate URLs, each listing all versions with hreflang.
- The WhatsApp link uses the international number format with no leading zero, plus sign or dashes.
- Each language has its own pre-filled message, naming the page or service.
- Arabic and English templates are approved separately before any follow-up is sent.
- A native Arabic reader has checked layout and copy on real phones.
Sources
Rules and guidance this answer relies on. Policies change, so check the current version before acting on it.
- W3C Internationalization: Structural markup and right-to-left text in HTML
- W3C Internationalization: Declaring language in HTML
- W3C: CSS Logical Properties and Values Level 1
- Google Search Central: Localized versions of your pages
- WhatsApp: About click to chat
- Meta for Developers: Send messages with the WhatsApp Cloud API
- Meta for Developers: WhatsApp message templates overview
- WhatsApp Business: Business Messaging Policy
