All posts

Engineering · · 2 min read

Arabic documents that print right

What it took to generate invoices and receipts in Arabic and French for BCFM, with correct shaping and right-to-left layout.

The BCFM farm dashboard

In Algeria, a business app usually needs at least two languages, and one of them is written right to left. For BCFM, the poultry farm platform, that went beyond the interface: the farm hands out paper, and that paper had to come out of the system in French or Arabic.

The interface: direction, not just words

Translating strings is the easy part. Arabic changes the layout: navigation, tables, number alignment, icons that point “forward”. We build interfaces with logical CSS properties (start and end instead of left and right), so switching to Arabic flips the layout without a second stylesheet.

The documents: shaping matters

PDF libraries often draw Arabic letters one by one, in the wrong order and without joining them, which is unreadable. For BCFM’s delivery notes, invoices, purchase orders, receipts and account statements, we added proper Arabic text shaping and bidirectional ordering, so letters join correctly and mixed lines (Arabic text with French product names and numbers) read in the right order.

Numbers and money

Amounts, dates and quantities have to be unambiguous on a printed receipt. We fix the number format per document and keep currency and units consistent across languages, so the same invoice says the same thing in both.

Why it matters

People trust software that speaks their language properly. For a farm owner handing an invoice to a client, a broken Arabic line looks careless. Getting it right is a small detail that makes the whole product feel local.

Book a meeting with the teamFree, 30 minutes on Google Meet
Pick a day

What do you need?

You'll get a Google Meet invite by email.

Prefer email? team@quadibyte.com · WhatsApp