InternationalisationVol. 23 · i18n
0 / 0

Shelves / Internationalisation

IN·08

Internationalisation Projects

Making TiffinBox multilingual and multi-region in six milestones: a text audit with UTF-8, normalisation and grapheme-safe limits end to end; locale-aware sorting and transliterated search; correct cut-offs, delivery slots and daily reports across Indian, Gulf and US time zones; formatting and exact multi-currency money with tax; an externalised, pseudo-localised and continuously translated interface in English, Hindi, Telugu, Tamil and Arabic with full RTL support; and international identity data, messaging and per-market rules; each with deliverables and measurable definitions of done.

9 topics · ~4 min read · 4-question quiz
Updated Suggest a correction

Start here: one product, three markets, five languages

Take TiffinBox (the Volume 19 backend and the Volume 22 apps, or a small web app of your own) from English-only in one Indian city to:

Market Languages Zone Currency
Hyderabad, Chennai English, Hindi, Telugu, Tamil Asia/Kolkata INR
Dubai Arabic, English Asia/Dubai AED
New Jersey pilot English (plus Telugu and Hindi for many customers) America/New_York USD

The milestones follow the chapters. Each ends with automated tests that would have caught the bugs this volume's labs reproduced.

How deep to go

Volume 17 defines six mastery levels. The project targets L4 across the volume, and L5 in whichever area matters most to your product (often time and money).

Milestone 1: text, end to end

Deliverables. An audit of every boundary (HTTP, database connections, files, queues, logs, emails, SMS, push) with encodings declared as UTF-8; NFC normalisation on input; NFKC + case folding for usernames and kitchen slugs; grapheme-safe truncation for previews; length limits documented with units; bidi and control characters stripped from names and file names; MySQL utf8mb4 or PostgreSQL UTF-8 confirmed.

Done when. A test corpus (Telugu, Hindi, Tamil, Arabic, combining accents, emoji ZWJ sequences, a 200-grapheme name) round-trips through every API and storage path byte-identical after NFC; notification previews never end mid-grapheme; two differently normalised spellings of Crème match one dish.

Deliverables. Kitchen and dish lists sorted with ICU collation in the viewer's locale; numeric collation for order numbers; caseless unique emails; search with folding, per-language analysis and transliteration (paneer ↔ पनीर, biryani/biriyani); a collation-version check in the database upgrade runbook.

Done when. Search recall on a set of 50 Latin-script queries for native-script dishes (and the reverse) reaches an agreed target (say 90%), measured before and after; sort orders match native speakers' expectations on a reviewed sample.

Milestone 3: time

Deliverables. Instants stored as timestamptz; cut-offs, delivery slots and kitchen hours stored as local time + IANA zone; recurring plans as RRULEs; subscription dates as date; daily reports per kitchen zone; an injected clock in all services; tzdata update process for containers and runtimes; ISO 8601 with offsets in every API.

Done when. Tests at 2026-03-08 and 2026-11-01 in New York, and month ends and 29 February in all three zones, pass; the "order at 20:00 UTC" case is counted on the right day per kitchen; a simulated tz rule change (custom zone file) moves future instants and keeps local times.

Milestone 4: formats and money

Deliverables. All numbers, dates, currencies, lists and relative times formatted via platform locale APIs; locale-aware number input; money as integer minor units with ISO 4217 codes; minor units from data; documented rounding mode and point for GST (India), VAT (UAE) and sales tax (New Jersey); allocation for refunds and split payments; FX conversions stored with rate, source and time.

Done when. Property-based tests show allocations always sum to the original; invoices reconcile to the ledger to the paisa/fils/cent over 100,000 random orders; no float type touches money (enforced by a lint rule or type).

Milestone 5: the interface in five languages, including RTL

Deliverables. Every string externalised (apps, web, server emails, push, SMS, PDFs) with descriptions and screenshots; ICU MessageFormat for plurals and gender; a pseudo-locale and pseudo-RTL in CI screenshot tests; a TMS with translation memory, glossary and style guide; a machine-translation-plus-review policy; per-app language setting persisted on the server; logical layout properties everywhere; isolated user values; mirrored icons where appropriate; lang/dir set; localised store listings.

Done when. No hard-coded user-visible string (a lint rule or extraction diff is clean); pseudo-locale and pseudo-RTL screenshots show no clipping or unmirrored layout on every screen; reviewers for Hindi, Telugu, Tamil and Arabic sign off in context; the Arabic "Order by {name}" and phone-number cases render correctly.

Milestone 6: identity, messaging and markets

Deliverables. Full-name and "call me" fields; per-country address forms with landmarks and map pins; E.164 phones via libphonenumber with type checks; confusable and mixed-script checks on usernames and links in user content; SMS templates sized for GSM-7 vs UCS-2 and registered where required; push notifications localised on device; Vary: Accept-Language on cached responses; per-market configuration for tax, payment methods, invoice fields, data retention and residency.

Done when. Sign-up accepts every name and phone in a 100-person test set drawn from the three markets; duplicate accounts from phone-format variants are impossible; SMS cost per OTP is measured per language; a new market can be added by configuration plus translations, demonstrated by a dry run for a fourth city.

Stretch goals

  • Hijri calendar display for Ramadan meal plans in Dubai.
  • Voice ordering in Telugu and Hindi with speech recognition and language detection.
  • Multilingual semantic search with embeddings (Volume 14) combined with lexical search.
  • Over-the-air string updates with signed bundles and a kill switch.
  • An i18n quality dashboard: untranslated strings per locale, pseudo-locale failures, translation age, and crash and rating differences per language.