Mixed Text in Arabic Interfaces
Small details in bidirectional text can change the meaning entirely: a phone number whose groups get reversed, or a sentence that flips because it starts with a Latin word. Small mistakes, but Arabic users see them every day.
What I noticed
In earlier designs I ran into the problem twice: a timer that showed in reversed order, and a page number in a different numeral system from the timer next to it. These aren't rare cases. In almost any Arabic interface you'll find phone numbers, IBANs, service names and email addresses inside Arabic text. Flipping the whole interface to the right doesn't solve it. What solves it is knowing the direction of each part of the line.
Five cases
Five cases as small components, each in two versions:
- A sentence starting with a Latin word: its line flips because automatic direction follows the first letter.
- A phone number: its groups get reversed in an Arabic interface.
- A range with a dash: it displays correctly but can be read backwards.
- Two numeral systems on one screen.
- An email field: the dot jumps to the start while typing.
Not all of them are display bugs. The range and the numerals are problems of reading and consistency, and they matter just as much.
In the image, each case shows «المشكلة» (The problem) on the right and «الحل» (The solution) on the left. For example: «Apple Pay متاح الآن في حسابك» (Apple Pay is now available in your account) with its direction set explicitly; +966 50 123 4567 isolated left to right; «30-300 ريال» rewritten as «من 30 إلى 300 ريال» (from 30 to 300 riyals); «الصفحة ٣» next to a 0:02 timer changed to «الصفحة 3» (Page 3); and an email field typed left to right under an Arabic label.
Not an exhaustive list
This replaces principle 39 in the book; I chose it because it concerns Arabic users directly. It isn't an exhaustive list. The same rules are applied differently across the web, iOS and Android. And more important than any list is for designers to see mixed text on an actual device, not just in the design tool, because design tools themselves may display it differently from what users will see.