The Arabic your customers actually send
Support messages rarely read like a news bulletin. Customers write in their own dialect, mix in English, skip the vowel marks and spell one word several ways. 'I want to change my booking' starts with 'urid' in Modern Standard Arabic, 'abi' or 'abgha' in much of the Gulf, 'baddi' in Levantine Arabic and 'ayez' in Egyptian Arabic. A Gulf business hears all of them, and many non-Arab residents write in English.
| What arrives | Example | What the assistant does |
|---|---|---|
| Modern Standard Arabic | A formal complaint, or an email pasted into the chat | Understands it fully and keeps the reply equally formal |
| Gulf dialect | 'wain talabi?' (where is my order?) | Understands the dialect and replies in clear, simple Arabic |
| Other dialects | Egyptian or Levantine phrasing from residents and visitors | Understands it without switching to that dialect |
| Arabic mixed with English | An Arabic sentence carrying booking, refund or status | Stays in Arabic and treats the English words as content |
| Arabizi | Latin letters with digits for missing sounds, such as 3 for ayn: 'abi a3rf wain talabi' | Converts it to Arabic script before searching, and replies in Arabic |
Two rules follow. The conversation's language is a setting that changes only when the customer clearly changes it, so one English word in an Arabic message is not a request to switch. And numbers are normalised before any lookup: customers type order and phone numbers in Western digits or Eastern Arabic digits (sometimes the Persian forms, which are different characters), with or without a country code. Every tool converts them first, and the assistant reads the number back before acting.
Choosing the model and the voice of the replies
Models differ widely in Arabic, and most have seen far more formal Arabic than dialect, so quality varies most where your customers write most casually. Choose with your own conversations rather than a general benchmark: run the candidates on real, anonymised messages and have native speakers score the replies.
For the replies, clear and simple Modern Standard Arabic with familiar everyday words is the safest register, because every Arabic reader understands it. A model asked to imitate a Gulf dialect often drifts into a mix of dialects that reads as fake. The style rules we agree with you also cover:
- Gender. Arabic marks gender when it addresses someone, and the assistant rarely knows who is writing, so it uses forms that read the same for everyone, such as 'you can tap' instead of a gendered command.
- Examples as well as rules. Instructions written only in English tend to produce Arabic that reads like a translation. Approved Arabic replies give the model a target.
- A glossary of product and feature names in both languages, so the assistant does not invent a new Arabic name for the same feature in every conversation.
Arabic can also cost more to process. Many tokenisers split an Arabic sentence into more tokens than its English equivalent, which raises the cost per conversation, fills the context window sooner and can slow replies. The gap depends on the model, so measure it with your own messages before you set a budget.
Arabic search: why retrieval fails and how to fix it
Most assistants answer from your documents through retrieval-augmented generation, so an answer is only as good as the search behind it. Arabic search fails in specific, fixable ways.
| Problem | What happens | The fix |
|---|---|---|
| Letter variants | Alef typed with or without its hamza, taa marbuta as haa, final yaa as alef maqsura: one word, several spellings | Normalise letters the same way when indexing documents and when reading the question |
| Vowel marks and tatweel | A policy with full vowel marks or decorative stretching does not match a plain question | Strip them for matching; keep the original text for display |
| Look-alike characters | Persian and Urdu keyboards type a different yaa and kaf that look the same, or nearly, on screen | Map them to the Arabic letters during normalisation |
| Attached prefixes and suffixes | 'And with my card' is one written word, so a search for 'card' misses it | An Arabic analyser with light stemming, not root stemming, which merges words such as book, office and writer |
| Broken text from PDFs | Some Arabic PDFs extract as presentation-form characters or in reverse order | Check the extracted text, apply Unicode NFKC normalisation and fix the order before indexing |
| Dialect against formal documents | The customer asks in dialect; the policy is in formal Arabic | Multilingual embeddings for meaning, alongside keyword search |
We use hybrid search for Arabic: keyword matching finds exact items such as product codes and names, embeddings find passages that say the same thing in other words, and a re-ranking step orders the results. Test retrieval on its own, with questions written by native speakers in several dialects, before you judge the answers.
When the documents are in English
Many Gulf companies write policies in English and serve customers in Arabic. Translate and review the key documents so both languages are indexed, or match Arabic questions to English passages with cross-language embeddings. Someone who knows the business checks every translated policy, because a mistranslated refund rule becomes a confident wrong answer. Our knowledge assistants page covers document assistants in general.
A right-to-left chat interface that holds up
Mirroring is the easy part: the bubbles, avatar, input box and send button swap sides and directional icons flip, as our Arabic and right-to-left design page explains. The hard part is mixed-direction text, which in a chat is almost every message.
- Direction per message. The browser's automatic direction looks only at the first strong character, so an Arabic message that begins with 'iPhone' is laid out left to right. Decide each bubble's direction from its share of Arabic letters instead.
- Streaming. While a reply streams in, the bidirectional algorithm reorders the unfinished sentence, so English words, numbers and punctuation jump. Fix the reply's direction when it starts, and isolate Latin runs and numbers.
- Formatting. Lists and tables mirror; code, links, email addresses and order codes stay left to right in their own isolated spans.
- Input and type. The text box follows the direction of what is typed, and Arabic gets a legible font at chat sizes, extra line height and no letter spacing, which breaks the joins between letters.
On WhatsApp
On WhatsApp you do not control the layout, so keep replies short, skip tables and put codes and links on their own lines. The WhatsApp Business Platform also has its own rules, such as approved templates for messages sent after the window that follows a customer's last message, so check the current rules before you design the flows.
Voice notes
Voice notes are a common way to message a business in the Gulf, especially on WhatsApp. Arabic speech recognition is usually weaker on dialect, mixed languages and noisy recordings than on clear formal Arabic, and weakest on what matters most: names, numbers and addresses. Design for that:
- Show the customer the key details the assistant understood.
- Read back numbers, dates and names before acting, and ask for them in writing when the audio is unclear.
- Pass notes that cannot be transcribed confidently to a person, with the audio attached.
- Treat recordings as personal data: decide how long they are kept, who can play them and where they are processed.
Testing with native speakers
Arabic quality cannot be judged from English test results. We build an Arabic test set from real, anonymised conversations and have it scored by native speakers from the markets you serve, because a reviewer from one country can miss what sounds wrong in another.
- Coverage. Each task in formal Arabic, in your customers' main dialects, in English, in mixed messages, in Arabizi and as transcripts of real recordings collected with consent.
- A written rubric. Correct and grounded in the source, in the right language, natural in register, neutral in gender, and handed to a person when the assistant should not answer.
- Scores per dialect. A good average can hide one dialect that fails.
- Calibrated model graders. A grading model makes daily regression runs affordable, but compare its scores with native speakers' before you trust it.
Every change to the model, the prompt or the documents reruns the set. Our AI agent testing page explains the method, and the article on Arabic chatbots customers actually use covers the product side.
How we build an Arabic assistant
We start from a sample of your anonymised chats, emails and voice notes and, as in every project, a threat review: what the assistant may read, what it may do and where conversations are stored. Several Gulf countries have national personal data protection laws, and some sectors limit where data may be processed. We design with awareness of them; confirm what applies to you with qualified counsel.
Then come the style rules and glossary, Arabic retrieval, the right-to-left chat or WhatsApp channel with hand-off to a person, native-speaker scoring, and a pilot with a limited group of customers in which every conversation can be reviewed. You see progress at weekly demos. A project like this often starts with a discovery sprint that tests the hardest Arabic cases first. For support flows, see AI customer support; for the whole service, AI agents and automation.