Skip to content

A database that reads right to left

Arabic in a table: direction detected per value, not per app, a chosen Arabic face, mixed Arabic-English records. What RTL requires, and how Tabla does it.

Updated November 2026

Type a plant list in Arabic into most data tools and the problems show up right away. The names are pushed against the left edge of each cell, reading the wrong way across the column. A value ending in a question mark shows its punctuation on the wrong end. The font changes partway down the table. Nothing crashes, but it's clear the software wasn't built with Arabic in mind.

This page covers what right-to-left support involves, most of which applies to any tool you might evaluate, and then how Tabla does it.

Why data tools usually get this wrong

Direction gets decided once, for the whole app. The interface is left-to-right, so every cell inherits left-to-right, and an Arabic value comes out left-aligned and feeling backward, lined up on the edge the eye doesn't start from. In a database, direction should be decided for each value, not for the app or even the column. One column can hold an Arabic name in row 3 and an English one in row 4, so each cell has to decide for itself.

Mixed content breaks where the scripts meet. Arabic data is full of Latin fragments, like a SKU, a URL or a brand name. Arabic text laid out in a left-to-right cell breaks in the wrong places: the trailing period shows up at the far end, a parenthesis flips, and PLT-104 splits an Arabic sentence in two. These are the ordinary bidirectional-text rules, applied with the wrong base direction. The value needed to start right-to-left for the joins inside it to come out right.

The font is a fallback. Interface fonts ship Latin glyphs. When Arabic comes in, the browser substitutes whatever the operating system has, so Arabic renders in a different face from everything around it, with a different size and weight on each platform. Nobody chose that font.

Fast grids skip the browser's text layout. The quickest grids draw their own pixels on a canvas instead of using browser text layout, so the browser's bidirectional handling never runs, and direction is right only if someone wrote that code. Usually nobody has.

What native RTL support means

These four commitments can be checked in any tool in ten minutes with one Arabic record:

  1. Per-value direction detection. The first strongly directional letter of a value decides, using the same first-strong rule browsers use. An Arabic value is right-to-left and right-aligned, the English value below it is the opposite, and both are correct in the same field.
  2. Editing follows the text. The box you type into runs right-to-left as soon as your text does, including cursor movement, selection and punctuation.
  3. A chosen Arabic face. The tool ships an actual Arabic font, weighted to look even beside the Latin one, instead of leaving it to whatever the operating system falls back to.
  4. Mixed tables as the normal case. Arabic product names, Latin scientific names, an email address and prices can all be in one record. Arabic support that falls apart when English appears in the next cell doesn't count.

What a mixed table looks like

Here's an Arabic inventory table, with plant names in Arabic, scientific names in Latin and prices in Egyptian pounds:

A نباتات (plants) table in the grid: Arabic names and select chips right-aligned and reading right-to-left, Latin scientific names left-aligned in the next field, EGP prices beside them.

Each value reads its own way, زنبق السلام from the right and Spathiphyllum wallisii from the left, in adjacent fields of the same record. The choice chips (ظل جزئي, شمس كاملة) line up against the right edge of their cells. None of this was configured. Each value's direction comes from the value itself.

How this works in Tabla

Every value has its own direction. Wherever a value is shown as browser text, the element is marked direction-auto, so the browser's first-strong detection runs on each value. That covers the record panel, cards on the board and gallery, filter inputs, the link picker and public view links. Every box you type into is marked the same way, which gives you commitment 2 with no extra work: the editor flips when your text does.

Long text takes its direction per paragraph. A note that opens in English and continues in Arabic doesn't take one direction from its first word. Each paragraph lines up on its own side, and the arrow keys move the way that paragraph reads, so Left goes left in English and in Arabic alike. That holds in plain and rich long text, in the grid's editor, the record panel and forms.

The canvas grid detects direction itself. The grid draws its own pixels for speed, so it can't rely on the browser, and it applies the same first-strong rule itself. In text cells, a right-to-left value is detected and right-aligned. Select and link chips go further. They lay out from the right edge in right-to-left order, with the canvas put explicitly into RTL mode. Detection skips leading digits and symbols, including Arabic-Indic digits, which are direction-weak, so ٣ أصص still reads right-to-left. This is how Arabic data keeps its direction in an interface whose menus and buttons are in English. Each value goes by its own first letter, as in a browser, so PLT-104 صبار, which opens with a Latin P, reads left-to-right.

The Arabic font is chosen, not a fallback. Tabla ships IBM Plex Sans Arabic, self-hosted, as its one Arabic face beside Inter for Latin. Its normal weight is mapped one step heavier, because at grid sizes Arabic otherwise looks thinner than the Latin around it. It comes first in every font stack in the product and declares the range of characters it covers, so Arabic text reaches it before any other font and Latin text never does. Canvases don't trigger font loading on their own, so the grid loads the face explicitly and repaints, and Arabic never gets stuck in a fallback font.

Numbers typed in Arabic digits are numbers. ٣٥٠ typed into a number, currency or percent field stores 350, in the grid, the record panel, a filter or a form, and the Arabic decimal mark counts as a decimal point, so ٣٥٠٫٧٥ is 350.75. Duration fields read Arabic digits too.

Arabic works beyond cells too. Tables and fields can be named in Arabic. The table in the screenshot is named نباتات and was created over the API with Arabic field names, and the names are the JSON keys. Search matches Arabic text like any other. Attachment filenames are stored verbatim, Arabic included, and download under their own names.

This was a rule from the start, not something added later. The design document Tabla was built from says any value that begins with Arabic text is displayed right-to-left and right-aligned in its cell, and it scheduled a check inside the grid for the first week of building. When the check ran, plain text cells passed as they were, but chip cells turned out to have no direction logic at all. So Tabla draws its chips itself, with explicit direction, and that's why commitment 1 holds on a canvas.

Most tools in this category publish nothing about any of this, and ten minutes with one Arabic record will show you why. Try زنبق السلام and a scientific name in whatever you're evaluating, ours included.

About Tabla

Tabla is a no-code database with Postgres underneath. Every feature is on every plan, you get a million records per database, and you can export your whole database in one file any day.

More guides