All insights

    Architecture

    What Breaks When You Add Arabic to an Enterprise System?

    · 8 min read · Anton Babayan, Founder

    Adding Arabic to a system that was built in English is usually planned as a translation task and sized accordingly. The translation is the part that goes well. The failures sit in direction, in name matching, and in anything that generates a document, and they tend to appear after the English version has already been approved.

    Direction reaches further than you expect

    An Arabic interface mirrors. Navigation moves to the right, so do labels, progress indicators, table columns and the arrows on everything. Modern CSS handles most of this with logical properties, and the parts it does not handle are the ones worth listing early.

    Some things must not flip: phone numbers, code, media controls, a chart whose time axis still runs left to right by convention. Some things flip in ways that change meaning, such as a date range or a back arrow. Mixed-direction lines are their own category. An Arabic sentence containing a Latin product name and a numeral has three direction changes in it, and browsers resolve those by rules most developers have never read.

    Numerals are a decision rather than a default. Arabic-Indic digits look correct to some readers and wrong to others, and the choice has to be consistent across the interface, generated documents and anything a user copies out.

    Names are the part that quietly fails

    One Arabic name has several valid spellings. Diacritics are optional and inconsistently typed. Certain letters are used interchangeably by real users entering real data. The same person appears in two systems under two spellings that are both correct.

    Exact matching misses most of that, which shows up as a search that returns nothing, a duplicate customer record, or a screening check that passes when it should not. Normalising input and matching with tolerance is the fix, and it has to be decided before anyone builds a screen on top of it, because it changes what the data layer stores and indexes.

    Generated documents

    This is the most common post-launch discovery. A PDF library that rendered English contracts perfectly produces disconnected letters, reversed words or empty boxes in Arabic, because the font lacks coverage or the renderer does not shape and join letters. Letters in Arabic change form depending on their neighbours, and a renderer that treats them as independent glyphs produces output that a native reader can see is broken at a glance.

    Test this with a real document on real data in the first sprint that touches Arabic. The fix is a font and sometimes a different renderer, which is cheap early and awkward once the document template has been signed off by a legal team.

    What to do in the design

    Treat both languages as first-class from the first screen, even if Arabic ships second. Use logical CSS properties rather than left and right. Keep every string out of the code. Decide numerals and name matching before the data model is fixed. Put one Arabic PDF and one mixed-direction screen in the first testable build, because those two artefacts surface most of the remaining work.

    Retrofitting instead means reopening layout, data model and search after they have been approved, and the second pass costs more than building for both would have.

    The short version

    Translation is the easy half. Budget for mirrored layouts with explicit exceptions, mixed-direction text, a numeral decision, name normalisation and fuzzy matching, and document generation that can shape Arabic correctly. Decide all of it in the design, and ship Arabic second if you need to.

    Frequently asked questions

    What is the hardest part of adding Arabic to an application?

    Not the translation. It is direction: a mirrored layout that has to flip icons, progress, charts and date ranges without flipping phone numbers or code, and text that mixes Arabic with Latin words and digits in the same line.

    Why does Arabic name search return the wrong results?

    The same name has several valid spellings, optional diacritics, and letters that users type interchangeably. Exact matching misses most of them, so name lookup needs normalisation and fuzzy matching, which has to be decided before anyone builds the screen that depends on it.

    Do generated documents need separate work for Arabic?

    Yes, and it is the most common thing teams discover after launch. PDF generation needs a font with full Arabic coverage and a renderer that shapes and joins letters correctly, or the output arrives as disconnected glyphs or empty boxes.

    Should Arabic be designed in from the start or added later?

    From the start, even if it ships second. Direction and name handling reach into layout, data model and search. Retrofitting them means revisiting work that was already approved, which costs more than building for both from the first screen.

    Related reading

    Planning something similar?

    We find where AI actually fits, build it, and get it running in production.

    Get in Touch