Back
Studio journal
Web & digital

Test a bilingual interface with a product code

A Persian page with a Latin name, an order code and a price is a better test than a plain paragraph. A punctuation mark in the wrong place can make a correct code look unfamiliar.

Vision AI RT editorial team 2 min read
Companion video · The Unicode Consortium · Bidirectional text and user interfaces
In this guide

Set language and direction separately

Give a Persian page the language fa and direction rtl. Give the English version en and ltr. Right-aligning text alone does not set its reading order. Express spacing at the logical start or end so controls adapt when the language switches.

Zarnama — Digital Catalogue
Read the interface labels alongside product data in the Zarnama catalogue. Try the same layout with a long Latin identifier.

Isolate the variable part

In a Persian label containing GC-101 and a colour in parentheses, isolate the known product code as left-to-right text. An unknown customer-supplied name can use bdi. Keep the stored character order intact so copying the code returns its original value.

Three values in a Persian row — Product name, GC-101, Toman
Studio worksheet for “Three values in a Persian row”.

Read the narrow and printed versions

Create a test row with a Persian name, GC-101, a price and parentheses. Read it on desktop, a narrow phone and the print view. Copy just the code and compare it with the original. Repeat for an enquiry title and an email field.

Sources & further reading

Related studio workZarnama — Digital Catalogue

Related reading

View all
Original image