Shelves / Internationalisation
Software Engineering · Volume 23
Internationalisation
Building software that works in every language, script, region, time zone and currency, from first principles: what a character really is and how Unicode encodes it, comparing and sorting text by the reader's language, instants versus wall-clock times and the time-zone database, locale formats, plural rules and exact money, translating an interface without breaking it, right-to-left and mixed-direction text, and the names, addresses, phone numbers, domains, storage limits and messaging channels of a global product.
Two ways to read this book
Every chapter has the same shape: Start here (first principles, plain language, small verified examples) → How deep to go (what each mastery level needs) → full-depth sections → Lab (experiments with real measured output) → Revision sheet (key ideas, numbers to remember, pitfalls, glossary, quiz).
How to use this book
- Read one topic at a time. Each topic heading has a Done tick. Tick it only when you can explain the idea aloud without looking, which is roughly mastery level L2–L3 below.
- Run the code. Every comparison block has tabs for each language; type the example out in at least two of them.
- Take the chapter quiz at the end. A score of 80% or more counts as passed. Wrong answers show the explanation, so re-read that topic and untick it if needed.
- Revisit after a delay. The roadmap's loop applies: recall, explain, implement without notes, break it, measure it.
Mastery levels
Languages used throughout
Status as of November 2026: the labs ran on Python 3.13 (Unicode 15.1), Node.js 22 (ICU 77, CLDR 47, Unicode 16.0), PostgreSQL 16 with ICU collations, the system tz database (2026e) and headless Chromium, with real output shown. Rendering widths depend on the lab machine's fallback fonts, which are wider than phones' for Indic scripts; each lab says what it substitutes for and ends with experiments to run on your own devices.
Contents
- SC·00Start Here: One App, Many Languages, Every Time ZoneFor engineers whose software has only ever spoken one language in one time zone: what internationalisation (i18n) and localisation (l10n) mean, why…4 min
- SC·01Unicode and TextWhat a "character" really is: bytes, code units, code points and the grapheme clusters users see; how UTF-8, UTF-16 and UTF-32 encode Unicode and why…14 min
- SC·02Comparing, Sorting and Searching TextWhy "alphabetical order" depends on the language: the Unicode Collation Algorithm and its levels, CLDR tailorings for Swedish, German, Turkish and…11 min
- SC·03Time, Dates and Time ZonesThe difference between an instant and a wall-clock time, and why software needs both: UTC and offsets, the IANA time-zone database and how it…14 min
- SC·04Locales: Numbers, Currencies, Plurals and MoneyWhat a locale is and how software picks one: BCP 47 tags, negotiation and fallback, and the CLDR data behind every platform; formatting and parsing…12 min
- SC·05Translating the InterfaceHow text gets from code to translators and back without breaking: externalised messages and resource formats on the web, Android and iOS, why…13 min
- SC·06Right-to-Left and Bidirectional TextHow Arabic, Hebrew, Urdu and Persian change layout and text: logical versus visual order, the Unicode Bidirectional Algorithm and why numbers and…10 min
- SC·07Internationalised Data and InfrastructureThe data and plumbing behind a global product: personal names without a first/last split, addresses that don't fit a US form, phone numbers in E.164…12 min
- SC·08Internationalisation ProjectsMaking TiffinBox multilingual and multi-region in six milestones: a text audit with UTF-8, normalisation and grapheme-safe limits end to end…4 min