Dialects, code-switching, tone, right-to-left chat, Arabic search, native-speaker testing and WhatsApp: what makes customers keep using it.
An Arabic AI chatbot that customers use understands the way they really write, which is often Gulf dialect, Arabic in Latin letters or Arabic and English in one sentence, and replies in clear, warm Arabic that fits the brand. It answers from Arabic content rather than translations of English pages, displays correctly from right to left, works where customers already talk (in the Gulf, very often WhatsApp) and is tested by native speakers from the real customer base before launch. When an Arabic chatbot disappoints, the cause is usually one of those points rather than the model.
Customers write in dialect, so the bot must read it
Modern Standard Arabic is the language of websites, contracts and the news. It is rarely the language of a customer typing on a phone. A customer in Riyadh, Dubai or Kuwait may write in Gulf dialect, a resident from Egypt or the Levant in their own dialect, and many switch to English for a product name or a whole sentence. Some write Arabic in Latin letters with digits for sounds English lacks, a style known as Arabizi, where 3 stands for the letter ain and 7 for a heavy h.
Test understanding in all of these styles, not only in formal Arabic, on the requests that matter: order status, delivery times, returns, payment problems, opening hours and complaints. The bot does not need to reply in every dialect, but it must understand them.
A message such as 'abgha a3ref wain my order' (I want to know where my order is) mixes a Gulf verb, Arabizi and English in five words. Systems that detect one language per message and route it to an Arabic or an English flow break on exactly this. Treat mixed input as one message, keep product names in their original script, and choose the reply language from the customer's main language over the conversation, not from the last word they typed.
Choose the voice before writing a single prompt
The reply register is a brand decision. For many Gulf brands a good default is clear, friendly Modern Standard Arabic without heavy formality, with widely understood Gulf expressions where they fit naturally. A badly imitated dialect is worse than none, and customers notice at once. Write a short voice guide in Arabic, with examples of good and bad replies, and give it to everyone who reviews the bot's answers.
- **Greetings carry weight.** A customer who opens with as-salamu alaykum expects the full reply in return, not a generic hello.
- **Arabic is gendered.** Imperatives, adjectives and some verb forms change with the person addressed, and a bot that addresses every customer in the masculine reads as careless to many women. Prefer phrasings that work for anyone.
- **Never let a phrase replace a fact.** Expressions such as in sha Allah are part of everyday speech and the bot can mirror them, but never in place of a real answer: give the delivery date from the order data.
- **Keep sentences short,** and replace literal translations of English marketing phrases, which sound stiff in Arabic, with what a good employee would actually write.
Answer from Arabic content, and make Arabic search work
A bot answers from the content you give it, usually through [retrieval-augmented generation](/glossary/retrieval-augmented-generation). If your help articles, return policy and product details exist only in English, the model translates on the fly and its Arabic answers drift from the official wording. Write or review Arabic versions of the key policies, and make sure both languages say the same thing.
Arabic retrieval needs care that English search does not:
- **Normalise spelling variants:** the forms of alef, taa marbuta against haa at the end of a word, alef maqsura against yaa, and optional diacritics. A search for one spelling must find the others.
- **Handle attached prefixes.** Arabic joins words such as 'the', 'and', 'with' and 'for' to the next word, so one word appears in many written forms.
- **Normalise digits.** Customers type order and phone numbers in Arabic-Indic or Western digits; convert both to one form before looking anything up.
- **Test embedding models in Arabic.** Models differ widely in how well they represent Arabic, and even more in dialect. Compare candidates on your own customers' questions before choosing.
- **Link the two languages,** so an Arabic question can still find an English-only document when that is all there is, and the bot says so.
Right-to-left chat that does not break
Chat mixes directions constantly: Arabic text, English product names, order numbers, email addresses and links in the same bubble. Done carelessly, punctuation jumps to the wrong end and numbers flip around. The basics:
- Set the direction of each message from its content, and isolate embedded Latin text, numbers and links so they keep their order.
- Mirror the layout: the customer's and the bot's bubbles swap sides, and send and back icons point the right way.
- Choose an Arabic font that stays legible at small sizes on a phone, with enough line height for the marks above and below the letters.
- Let the input box follow the direction of what the customer is typing.
- Test on real phones, with long messages, mixed content and the phone's own keyboard.
The details are covered in [designing bilingual right-to-left products](/blog/designing-bilingual-rtl-products) and in the glossary entry on [right-to-left design](/glossary/rtl-design).
WhatsApp is often where the conversation already is
In the Gulf, many customers would rather message a business on WhatsApp than open a website chat. A bot on the WhatsApp Business Platform meets them there, with rules a website bot does not have. Meta changes them from time to time, so check the current policy before you design around them.
- **The service window.** After a customer messages you, the business can reply freely for 24 hours. Messages the business starts outside that window must use templates approved in advance, so write and submit Arabic and English templates for order updates and reminders early.
- **Opt-in.** Customers must agree to receive your messages. Record when and how they agreed.
- **Voice notes.** Many customers speak instead of typing. Speech-to-text must cope with dialect, and the bot should confirm what it understood before acting on it.
- **Photos and documents:** a damaged item, a receipt, an identity document. Decide what the bot may accept, where files are stored and for how long.
- **Hand-off in the same thread.** When a person takes over, the conversation stays in WhatsApp and the person sees the whole history and what the bot already tried.
Order questions are the most common starting point; [order status automation](/solutions/order-status-automation) covers that workflow across email, chat and WhatsApp.
Test with native speakers from your real customer base
Translators check correctness; customers check whether it sounds right. Recruit testers who match your customers: Gulf nationals and residents from other Arab countries, different ages, people who write in Arabizi. Give them real scenarios rather than scripts, and ask them to rate each reply on three things: did it understand, was the answer correct, and did it sound like a good employee.
- Build a test set of real messages in each dialect and style, with the correct outcome for each, and run it before every change. The method is in [how to test an AI agent before launch](/blog/testing-ai-agents-before-launch).
- Include hostile and tricky messages written in Arabic: insults, attempts to override the bot's instructions, requests for another customer's details.
- After launch, review transcripts every week with a native speaker who knows the brand voice.
Hand-off, measurement and honesty
Tell customers they are talking to an automated assistant, and make reaching a person easy: a clear phrase that works in Arabic and English, and an automatic hand-off when the customer is upset or the bot is unsure. Pass the whole conversation to the person who takes over, so the customer never has to repeat themselves.
Measure honestly. A conversation that ends is not a problem solved; customers often leave because they gave up. Track resolution confirmed by the customer or by the order data, repeat contacts within a few days, hand-off reasons and satisfaction in each language separately, because an average can hide an Arabic experience that is worse than the English one.
Building this well is the subject of our [Arabic AI assistant](/services/ai-automation/arabic-ai-assistants) work, and the wider support workflow, including order lookups and hand-offs, is covered under [AI customer support](/services/ai-automation/ai-customer-support).