Arabic RTL app development is not a translation task. It changes layout direction, icon behaviour, text handling, fonts and plural rules, and it touches every screen. If you plan it from the first commit, it costs a modest share of the build. If you add it after launch, it costs a partial rewrite of the interface.
Dextra, our fitness coaching app, runs in English, French and Arabic on the web, iOS and Android. These are the practical issues a trilingual app has to handle, and how we approach each one.
Layout mirroring
In Arabic, the whole interface reads from right to left. The back button moves to the right, lists align right, progress runs from right to left and swipe gestures reverse.
The rule that makes this cheap: never write left or right in layout code. Write start and end.
- Web: use CSS logical properties (margin-inline-start, padding-inline-end, inset-inline-start, text-align: start) and set dir on the html element.
- Flutter: use EdgeInsetsDirectional, AlignmentDirectional and PositionedDirectional. The Directionality widget, set from the locale, does the rest.
- React Native: use start and end style properties. Switching direction through I18nManager requires an app reload, so handle language changes with that in mind.
- Native iOS and Android: leading and trailing constraints, and start and end attributes, mirror automatically when the layout is built that way.
Then review each screen in Arabic. Automatic mirroring gets most things right, but custom drawings, absolute positions and animations often stay pointed the wrong way.
Icons: what flips and what does not
This is where most RTL bugs live. An icon flips if it shows direction in reading order. It stays if it represents a real-world object or a universal convention.
- Flip: back and forward arrows, chevrons in lists, send buttons, undo and redo, text alignment icons, progress and step indicators.
- Do not flip: media play and fast-forward buttons, clocks and refresh icons, checkmarks, search magnifiers, logos and brand marks, images of real objects such as dumbbells or phones.
- Check carefully: charts with a time axis, sliders and anything drawn in a custom painter.
In a fitness app, media controls and timers matter a lot. A workout timer that counts backwards because a circular progress was mirrored is a real risk to test for.
Mixed-direction text
Arabic text often contains Latin words, brand names, numbers, emails and URLs. The Unicode bidirectional algorithm handles most of it, but not all.
- Wrap user-supplied or dynamic values (names, emails, phone numbers) in direction isolation: the bdi element on the web, or Unicode isolate characters elsewhere.
- Phone numbers and prices can display with parts in the wrong order. Test them inside Arabic sentences.
- Input fields should follow the text typed: an email field in an Arabic form should still be left-to-right.
- Do not concatenate translated fragments in code. Use full sentences with placeholders, so the translator controls word order.
Numerals and formats
Arabic-speaking countries do not all write numbers the same way. In Tunisia and the rest of the Maghreb, Western digits (0 to 9) are standard. In parts of the Middle East, Eastern Arabic digits are common. Use locale-aware formatting with the correct regional locale, such as ar-TN, rather than a generic Arabic locale, and check the output.
Format dates, currencies and units with the platform's internationalisation library, not by hand. For Tunisian dinar prices, check the decimal separator and the number of decimals your payment provider uses.
Fonts and typography
- Pick a family that has both Latin and Arabic designed to work together, or pair two that match in weight and size. Noto Sans Arabic and IBM Plex Sans Arabic are common open choices.
- Arabic usually needs more line height than Latin text. Fixed-height containers clip it.
- Never apply letter-spacing to Arabic. It breaks the joining between letters.
- Arabic text is often shorter or longer than English. Do not design buttons to the exact width of the English label.
- Bold and italic behave differently. Italic Arabic is rarely appropriate.
Translation workflow
Three languages means every string changes three times. Without a process, translations fall behind.
- Keep all strings in translation files from the first screen, using ICU message format.
- Arabic has six plural categories (zero, one, two, few, many, other). English has two. Your plural strings must support them.
- Give translators context: a screenshot or a note on where each string appears.
- Decide the register. Modern Standard Arabic suits most product text. Tunisian dialect can work for marketing but is harder to keep consistent.
- Block a release if a key is missing in any language, rather than shipping English fallbacks in an Arabic screen.
- Translate store listings and push notifications too.
Testing RTL
Test on real devices with the system language set to Arabic, not only with an in-app switch. Run screenshot tests for each language. Ask a native Arabic reader to use the app, because developers who do not read Arabic miss reversed sentences that look fine at a glance.
More on how Dextra was built in the Dextra case study.
FAQ
How much does Arabic support add to a project?
Planned from the start, a moderate share of the interface work plus translation. Retrofitted, it can approach a redesign of every screen.
Can the web and mobile apps share translations?
Yes, if both use the same keys and message format. A shared source of strings keeps all three languages aligned across platforms.
Should Arabic be the default in Tunisia?
It depends on your audience. Many Tunisian users are comfortable in French. Detect the device language and let users switch easily.
Singleton Solutions builds multilingual products for mobile and web.
Need Arabic done properly? Contact us.