Arabic-first app An Arabic app starts at the right edge

A sales rep opens the new app on a Sunday morning and knows within seconds whether it was designed for Arabic readers or translated into Arabic.

Published Naqrah Tech, Muscat6 min read

An Arabic line starting from the right edge of a glass phone

In short

An Arabic-first app builds its layout from the right, and a translated app shows the difference on its first screen. Arabic counts in six plural forms where English uses two, and Latin names and numbers move around inside an Arabic sentence unless they are isolated. The font, the line height and the store listing finish the picture. Ask your developer for the first three screens in Arabic on your own phone before anything else is built.

  • Direction is a design decision made before the first screen, and fixing it after translation means redrawing screens.
  • Every number on screen needs its plural rule settled before the message is written.
  • The Arabic store page belongs to the product, because buyers search in Arabic.

Design starts at the right edge

A typical case: a sales rep at a catering supplier in Sur opens the new app on a Sunday morning. They look for the New order button and find it at the far left. The title bar also starts on the left, and the back arrow points the wrong way. The problem is the build itself. The app was designed in English first, and the Arabic words were added afterwards.

That is a translated app. Its layout starts on the left, the Arabic text enters it as it is, and icons and buttons stay where English put them. An app built for Arabic starts its layout on the right: the list begins on the right, the main action sits where the eye lands first, and the back arrow leads back to what came before. That is a decision made before the first screen is drawn, and it is where we begin on most mobile app projects.

Flutter supports this at the framework level. The localizations delegate sets the default text direction from the chosen language, and most widgets follow that direction automatically. The framework knows the direction, and the developer makes sure every screen follows it. Whether Flutter fits your product at all is a separate question, covered in Flutter or native?.

Arabic counts in six forms

English needs two forms: order and orders. Arabic has six plural categories in the CLDR data that platforms and localization libraries rely on: zero, one, two, few, many and other. Each category is defined either by the number itself or by its last two digits.

Arabic plural categories in CLDR, with an order example
CategoryApplies whenArabic example
zeroThe count is 0بدون طلبات
oneThe count is 1طلب واحد
twoThe count is 2طلبان
fewThe last two digits run from 3 to 105 طلبات
manyThe last two digits run from 11 to 9912 طلباً
otherEverything else, including 100 and above100 طلب

The common mistake is one string, something like {count} order, used for every number. The screen then shows "1 order" where Arabic needs طلب واحد, and "2 order" where Arabic needs طلبان. An Arabic reader notices in the first line.

The problem sits in the structure of the translation file. Flutter lets a developer keep every plural form inside one message, using keys such as few, many and other, plus exact matches such as =0 for small counts. The translator fills each form where it belongs, and the developer can see which messages still need one.

Ask the developer which screens show a count and who checked each form. Orders, notifications, stock and wallet balances all show numbers, and every one of them needs its rule checked before the text reaches a screen.

Latin names and numbers inside a line

Write an Arabic invoice sentence that ends with an English code: the invoice INV-2045 went to the Rustaq store. The final full stop can land somewhere unexpected, a phone number such as +968 7119 0707 can appear in an odd order, and a Latin name can jump ahead of the verb.

The web solved this long ago. The HTML bdi element tells the browser to treat text in isolation when its direction is unknown, such as text read from a database or typed by a user. An app needs the same discipline. Any value that comes from outside the sentence, whether a name, a number or an email address, is isolated where it appears. Ask the developer where values typed by users are isolated, and the answer shows whether anyone has thought about it.

Money in Omani rial has three decimal places, as in 12.500 OMR. Keep the figures Western inside the Arabic text, and isolate the amount the same way you isolate a name, so every reader sees the same order of digits.

In the proposal wizard of the Shadeed Steel app, 5% VAT is added inside the wizard itself, so each quote carries its amount with the tax included.

The font sets the line height

Arabic letters join, and marks rise above and drop below the line. An Arabic word usually needs more vertical room than an English word at the same size. A line height copied from an English design will clip a long word inside a button such as Confirm receipt, or stack two lines of an order list on top of each other.

Ask for three things before the design is final: a font with full Arabic coverage, a line height set separately for Arabic text, and a check at the largest text size in the phone settings. Large text is a setting many people choose to read comfortably, and the screen must still work for them.

The store page is part of the app

Buyers read the name and description before they open a single screen. In App Store Connect, languages are managed from the App Information page, where the app name and the privacy policy URL are entered for each language. What you can edit depends on the state of the current version. In Google Play, the short description, the feature graphic and the preview video can each be localized for every language.

The second mistake is a literal translation of the name or description. Ask what a staff member types into the search box. The answer often differs from the translated name, and that difference decides what users find.

Who owns the company account behind the listing is a separate question. We wrote about it in publishing your app under your company account.

A test on your own phone

You need your phone and nothing else. Set the phone to Arabic at its largest text size, then open the app in the order your staff would:

  1. From the home screen, count the buttons and arrows that point the wrong way in Arabic.
  2. Create an order with quantity one, then twelve, then zero, and read each heading out loud.
  3. Type an English code and an English name into one field, and watch where the full stop lands.
  4. Open the app's store page and compare the name and description with what your team wrote.

If four or more problems appear in those steps, the app was translated, and fixing it means redrawing screens. Editing the words alone will leave the layout broken. Ask the developer to hand over the first three screens before the rest of the app, and write that condition into the contract.

The decision after the test is simple. If the first three screens pass, continue. If they fail, have them redrawn before any other screen is built, because a layout corrected now costs less than the same layout corrected after launch.

Sources

  1. Unicode CLDR: Language Plural Rules, Arabic categories
  2. Flutter docs: Internationalization
  3. MDN: The bdi element
  4. Apple Developer: Localize app information
  5. Google Play Console Help: store listing localization

This post is general planning information as of its publication date. Your project's decision needs a review of its own screens and audience.

Send us your first screen

We show you the first three screens in Arabic on your own phone, and tell you where the direction and the plural forms break before the rest is built.

Or call us on +968 7119 0707, Muscat, Sultanate of Oman