Skip to content

Optional analytics, session recording and advertising stay off unless you accept. You can reject them and use Transglot. Change your choice anytime in Cookie preferences. Cookie Policy

Back to the blog
Developer platform

Internationalization vs Localization: i18n and l10n (2026)

Internationalization (i18n) makes software adaptable, localization (l10n) adapts it per market. Definitions, a 23-item checklist with run code, and ten tests.

by transglot team
published November 24, 2026
22 min read

Documentation reviewed 24 November 2026.

Quick answer

Internationalization (i18n) is the engineering that makes a product adaptable to any language and region: text out of the code, formatting handed to the platform, layouts that survive longer text and right-to-left scripts. Localization (l10n) is the adaptation of that product for one specific market, called a locale: translation, formats, images, legal text, prices. Internationalization is done to the code, mostly once, by engineers. Localization is done to the content, per locale, on every release. Internationalization comes first, because a defect in it shows up in every language you add.

Who this guide is for

This is for an engineer or engineering lead who wants the two terms pinned down and a complete list of what "internationalized" means in code. The process overview is in the software localization guide. This chapter goes deeper on the engineering.

At the end you will have:

  • Definitions you can cite, and where W3C, Unicode and Microsoft differ.
  • A 23-item internationalization checklist with bad and good samples.
  • Ten tests that show in an afternoon whether your product is internationalized.
  • Both jobs mapped onto roles, a release process and four platforms.

The JavaScript samples were run on Node.js 22.15 and the output comments are the real output. Samples that were not run are marked.


Part 1: the two definitions, side by side

InternationalizationLocalization
W3CThe design and development of a product, application or document content so that it can be localized easily for audiences that differ in culture, region or languageThe adaptation of a product, application or document content to meet the language, cultural and other requirements of a specific target market, a locale
Unicode glossaryDesigning and implementing a software product so that it can be easily localizedAdapting a software product to use the languages and conventions suitable for a local market
ApplePreparing your code and assets for translation into different languages and regionsTranslating your strings and varying your assets for multiple languages and regions
Short formi18nl10n

The three agree: one makes adaptation possible, the other does the adapting. W3C lists four kinds of internationalization work: removing barriers to localization (Unicode, no hard-coded strings), supporting features not used until localization happens (bidirectional text), enabling locale preferences in code (dates, calendars, number systems, sorting, names and addresses), and separating localizable elements from source code.

Why i18n, l10n, g11n

The short forms are numeronyms: the first letter, the count of letters left out, the last letter. W3C and Microsoft both explain them this way.

NumeronymWordLetters between first and last
i18ninternationalization18
l10nlocalization10
g11nglobalization11
a11yaccessibility11

a11y is in the table only because it follows the same rule. It is a different discipline.


Part 2: the comparison in one table

QuestionInternationalizationLocalization
Who does itEngineers and designersTranslators, reviewers, a localization manager, product, legal
WhenDuring design and development, before the first translationAfter the source text exists, per market
How oftenOnce per feature, then maintainedEvery release, for every locale
What it changesCode, schemas, layouts, buildResource files, assets, store listings, prices, legal text
Needs a target languageNoYes, always a named locale
What a defect looks likeThe same bug in every locale: clipped buttons, "1 items", a broken sentenceA bug in one locale: a wrong term, a missing string
How it is testedPseudo-localization, unit tests on formatters, a forced right-to-left layoutLinguistic review, in-context checks, per-locale screenshots
If a translator cannot fix it by editing a string, it is an internationalization defect, however it was found.
Rule

Part 3: the relationship is a pipeline

The two are stages, not alternatives. Code goes through internationalization once. The output, a product with externalized strings and locale-aware formatting, is the input to localization, which runs per locale and again on every release.

A cream paper-pulp pipe on a dark stone plinth that passes through one wide collar and then splits into five narrower pipes, each ending in a small tile, one of them teal glass
Internationalization happens once, upstream. Localization happens per locale, downstream

The cost argument follows from the shape:

  • An internationalization defect multiplies. A concatenated sentence is one bug in the code and one broken sentence in each locale. With twelve languages it is twelve bug reports with one cause.
  • A localization defect does not. A wrong German term is fixed in the German file.
  • A late fix is paid per language. After translation, fixing a concatenated sentence means changing code, changing the source string, and retranslating it in every language already shipped.

W3C states that retrofitting a deliverable built around one language is much more difficult and time-consuming than designing it for global use, and compares it to the Y2K effort. Microsoft says the same: building localizability in early reduces risk and cost.

Internationalize while you have one language. After that, every fix is multiplied by the number of languages shipped.
In short

Part 4: globalization, and why Microsoft's words differ

"Globalization" has no single meaning.

Source"Globalization" means"Internationalization" means
W3CAnother word some people use for internationalizationThe engineering that makes localization possible
Unicode glossaryThe overall process of internationalization and localizationThe engineering
MicrosoftThe engineering: an application that works correctly in all locales and can be localized without recompilation"The entire process of bringing software to worldwide markets", covering globalization, localizability and localization

So Microsoft's "globalization" is roughly W3C's "internationalization", and Microsoft's "internationalization" is the umbrella. Microsoft also names a middle step, localizability: resources kept in a localizable format, separate from executable code, so that localization needs no source change. Its .NET documentation describes three steps: globalization, a localizability review, then localization.

When a job description, a vendor contract or a framework's documentation says "globalization", check which meaning it has. In the .NET documentation it is the culture-aware design and coding step, which W3C would call internationalization.
Watch out

The rest of this guide uses the W3C meanings.


Part 5: the internationalization checklist

In the samples, t() is a lookup over a message catalog. Intl has no message formatter, so ICU messages use intl-messageformat 12.2.1 from FormatJS. Everything else is built in.

The helper used by the samples below. Your i18n library provides the real onejs
import { IntlMessageFormat } from "intl-messageformat";
const catalog = {
en: { "log.shown": "Showing {shown} of {total} entries" },
ja: { "log.shown": "{total} 件中 {shown} 件を表示" },
};
const t = (locale, key, args) =>
new IntlMessageFormat(catalog[locale][key], locale).format(args);

Text and messages

1. Externalize every string, behind a stable key. Android's guidance: do not hard-code strings, declare them as resources, and describe each one for the translator. That includes error messages, alt text, emails and notifications.

Keys describe the place and purpose, not the English wordingjs
// Bad: the text is in the code
button.textContent = "Save changes";
// Good: the code holds a key, a resource file holds the text
button.textContent = t(locale, "settings.save");

2. Never build a sentence by concatenation. Fragments fix one word order, and a translator who can only edit strings cannot move them. Android's documentation notes that Japanese, Korean and Tamil place the verb at the end.

Japanese puts the total first. Only a whole-sentence string allows thatjs
// Bad: three fragments, one fixed order
"Showing " + shown + " of " + total + " entries";
// Good: one sentence, one string
t("en", "log.shown", { shown: 20, total: 340 }); // Showing 20 of 340 entries
t("ja", "log.shown", { shown: 20, total: 340 }); // 340 件中 20 件を表示

3. Name your placeholders. Two bare %s markers cannot swap places. %1$s and %2$s can, and {shown} and {total} also tell the translator what the value is. W3C adds a second trap: inserting a noun into "The %s has been disabled" breaks agreement in languages with grammatical gender. Write one string per case, or a label form such as "Disabled: {item}".

4. Use ICU MessageFormat for plurals and gender. CLDR defines six plural categories: zero, one, two, few, many, other. Each language uses a subset, other is required, and the names are mnemonics, not literal numbers. Use select for gender. The ICU guide recommends putting the plural or select outermost with a full sentence in each branch. The plural rules guide covers each language.

Polish needs four forms, and 22 takes "few", not "many"js
// Bad: correct in English only
count + " file" + (count === 1 ? "" : "s");
// Good: the language's own categories
const pl = "{count, plural, one {# plik} few {# pliki} many {# plików} other {# pliku}}";
const f = (count) => new IntlMessageFormat(pl, "pl").format({ count });
f(1); // 1 plik
f(2); // 2 pliki
f(5); // 5 plików
f(22); // 22 pliki
f(1.5); // 1,5 pliku
new Intl.PluralRules("ar").resolvedOptions().pluralCategories;
// [ 'few', 'many', 'one', 'two', 'zero', 'other' ]
// Gender with select, one full sentence per branch
const fr = "{gender, select, female {{name} a été invitée} male {{name} a été invité} other {{name} a reçu une invitation}}";
new IntlMessageFormat(fr, "fr").format({ gender: "female", name: "Dominique" });
// Dominique a été invitée

Characters

5. Unicode, as UTF-8, end to end. W3C's advice is to choose UTF-8 for all content, and it notes that the back-end systems behind a page work best with it too. Check storage, transport, files and exports. In MySQL that means utf8mb4: its documentation says utf8mb3 supports only Basic Multilingual Plane characters and cannot store supplementary characters at all.

Then decide what a length limit counts. There are four answers:

One family emoji is 1 grapheme, 7 code points, 11 UTF-16 units and 25 bytesjs
const seg = new Intl.Segmenter("en", { granularity: "grapheme" });
const sizes = (s) => ({
utf16: s.length,
codePoints: [...s].length,
utf8Bytes: Buffer.byteLength(s, "utf8"),
graphemes: [...seg.segment(s)].length,
});
sizes("café"); // { utf16: 4, codePoints: 4, utf8Bytes: 5, graphemes: 4 }
sizes("日本語"); // { utf16: 3, codePoints: 3, utf8Bytes: 9, graphemes: 3 }
sizes("👍🏽"); // { utf16: 4, codePoints: 2, utf8Bytes: 8, graphemes: 1 }
sizes("👨‍👩‍👧‍👦"); // { utf16: 11, codePoints: 7, utf8Bytes: 25, graphemes: 1 }
// Bad: cuts a character in half
"👨‍👩‍👧‍👦 family".slice(0, 3); // "👨‍" (a man and a dangling joiner)
// Good: cut on grapheme clusters
const truncate = (s, max) =>
[...seg.segment(s)].slice(0, max).map((x) => x.segment).join("");
truncate("👨‍👩‍👧‍👦 family", 3); // "👨‍👩‍👧‍👦 f"
Four cream paper-pulp rulers of different lengths laid side by side on a dark stone plinth, all measuring the same single teal glass tile
One user-visible character, four different lengths

Show users a limit in grapheme clusters and enforce storage limits in the unit the store uses. W3C's personal names article gives the classic failure: a four-character Japanese name does not fit in four bytes of UTF-8.

6. Normalize before you compare. The same visible text can be different code point sequences: á as one precomposed code point, or as a plus a combining accent. Pick one form for identifiers and comparisons (W3C calls NFC a good recommendation), and do not convert user content blindly: compatibility forms change characters.

Normalize keys, usernames and search input. Leave stored prose as typedjs
const a = "caf\u00e9"; // precomposed
const b = "cafe\u0301"; // e + combining acute
a === b; // false (lengths 4 and 5)
a.normalize("NFC") === b.normalize("NFC"); // true
"fi ² ①".normalize("NFC"); // "fi ² ①" unchanged
"fi ² ①".normalize("NFKC"); // "fi 2 1" information lost

7. Sort and search with a collator. The default sort compares code units: capitals first, accented letters last. Alphabetical order also differs by language.

German sorts ä with a. Swedish treats ä and ö as letters after zjs
const words = ["Zebra", "apple", "Äpfel", "zoo", "Öl", "Oslo"];
// Bad
[...words].sort();
// Oslo, Zebra, apple, zoo, Äpfel, Öl
// Good
[...words].sort(new Intl.Collator("de").compare);
// Äpfel, apple, Öl, Oslo, Zebra, zoo
[...words].sort(new Intl.Collator("sv").compare);
// apple, Oslo, Zebra, zoo, Äpfel, Öl
["file10", "file2", "file1"].sort(new Intl.Collator("en", { numeric: true }).compare);
// file1, file2, file10
// Search that ignores case and accents
const search = new Intl.Collator("en", { usage: "search", sensitivity: "base" });
search.compare("resume", "Résumé") === 0; // true

8. Case conversion depends on the language. Turkish has a dotted and a dotless i. Code that lowercases a keyword under the user's locale breaks there.

Use toLocaleUpperCase(locale) for display text, never for keys, enums or protocol valuesjs
"title".toLocaleUpperCase("tr"); // "TİTLE"
"QUIT".toLocaleLowerCase("tr"); // "quıt"
"QUIT".toLocaleLowerCase("tr") === "quit"; // false
"straße".toUpperCase(); // "STRASSE" (6 characters became 7)
// Good: compare without converting
new Intl.Collator("en", { sensitivity: "accent" }).compare("TITLE", "title") === 0; // true

Dates, numbers and lists

9. Format dates with the platform, store instants in UTC, keep the zone. Apple's advice applies everywhere: do not handle the variations yourself, use the built-in formatters.

Thai shows 2569 because its default calendar is Buddhist. Tokyo is already on the next dayjs
const at = new Date("2026-03-04T17:30:00Z");
// Bad: one country's order, the server's zone
(at.getMonth() + 1) + "/" + at.getDate() + "/" + at.getFullYear();
// Good
const long = (locale) =>
new Intl.DateTimeFormat(locale, { dateStyle: "long", timeZone: "UTC" }).format(at);
long("en-US"); // March 4, 2026
long("de-DE"); // 4. März 2026
long("ja-JP"); // 2026年3月4日
long("th-TH"); // 4 มีนาคม 2569
// One stored instant, shown in each reader's zone
const meeting = { at: "2026-03-04T17:30:00Z", zone: "Europe/Paris" };
const show = (locale, timeZone) =>
new Intl.DateTimeFormat(locale, { dateStyle: "medium", timeStyle: "long", timeZone })
.format(new Date(meeting.at));
show("en-GB", meeting.zone); // 4 Mar 2026, 18:30:00 CET
show("en-US", "America/New_York"); // Mar 4, 2026, 12:30:00 PM EST
show("ja-JP", "Asia/Tokyo"); // 2026/03/05 2:30:00 JST

W3C's "Working with Time and Time Zones" note gives the storage rule: when in doubt, use UTC for serializing, storing and exchanging date and time values. It adds two limits. An offset is not a time zone: a zone is a set of rules, including summer time, so store the IANA zone ID (Europe/Paris) with the instant when the event belongs to a place. And birthdays or opening hours are "floating" values that should not be tied to an offset at all.

10. Format numbers, currency and units with the platform.

The yen shows no decimals, the Turkish percent sign comes first, India groups as 12,34,567js
// Bad
"$" + (1234567.891).toFixed(2); // $1234567.89
// Good
new Intl.NumberFormat("en-US").format(1234567.891); // 1,234,567.891
new Intl.NumberFormat("de-DE").format(1234567.891); // 1.234.567,891
new Intl.NumberFormat("en-IN").format(1234567.891); // 12,34,567.891
new Intl.NumberFormat("ar-EG").format(1234567.891); // ١٬٢٣٤٬٥٦٧٫٨٩١
const money = (locale, currency) =>
new Intl.NumberFormat(locale, { style: "currency", currency }).format(1234.5);
money("en-US", "USD"); // $1,234.50
money("de-DE", "EUR"); // 1.234,50 €
money("fr-CA", "CAD"); // 1 234,50 $
money("ja-JP", "JPY"); // ¥1,235
new Intl.NumberFormat("de-DE", { style: "unit", unit: "kilometer-per-hour", unitDisplay: "long" }).format(50);
// 50 Kilometer pro Stunde
new Intl.NumberFormat("tr-TR", { style: "percent" }).format(0.256); // %26
parseFloat("1.234,56"); // 1.234 (reading input back is also locale work)

Store the currency code with every amount: the formatter changes how it is written, not which currency it is. Android records the reverse trap: a number formatted in a locale's own digits is invalid inside a SQL query, so machine-readable output needs a fixed locale.

11. Lists. Joining with ", " is concatenation.

The Spanish formatter returns "e", not "y", before "hijos"js
const names = ["Ana", "Bo", "Chen"];
new Intl.ListFormat("en-US", { type: "conjunction" }).format(names); // Ana, Bo, and Chen
new Intl.ListFormat("en-GB", { type: "conjunction" }).format(names); // Ana, Bo and Chen
new Intl.ListFormat("ja", { type: "conjunction" }).format(names); // Ana、Bo、Chen
new Intl.ListFormat("es", { type: "conjunction" }).format(["padres", "hijos"]); // padres e hijos

12. Relative time. "2 days ago" is a plural and a word order problem at once.

The Arabic output contains no digit at alljs
const rel = (locale, n, unit) =>
new Intl.RelativeTimeFormat(locale, { numeric: "auto" }).format(n, unit);
rel("en", -1, "day"); // yesterday
rel("es", 3, "day"); // dentro de 3 días
rel("pl", -2, "month"); // 2 miesiące temu
rel("ar", -2, "month"); // قبل شهرين

People and places

13. Names. W3C's personal names article lists what a "first name, last name" form gets wrong: some people in southern India, Malaysia and Indonesia have a single name, family name comes first in Japan, Korea and Hungary, and Spanish speakers commonly have two family names. It recommends asking for one full name where possible, keeping it as typed, and not requiring a family name.

If you must validate a name at all, validate with Unicode propertiesjs
// Bad: ASCII letters only
/^[A-Za-z' -]+$/.test("José"); // false
/^[A-Za-z' -]+$/.test("王秀英"); // false
// Good: any letter or combining mark
/^[\p{L}\p{M}' .-]+$/u.test("José"); // true
/^[\p{L}\p{M}' .-]+$/u.test("王秀英"); // true
/^[\p{L}\p{M}' .-]+$/u.test("नरेंद्र"); // true

14. Addresses. W3C lists address formats among the things that vary by locale, and notes that a language preference of es-MX does not mean the address is Mexican. Drive the form from the country the user picks, not from the interface language.

15. Phone numbers. The international numbering plan is ITU-T Recommendation E.164. Google's libphonenumber project keeps a list of false assumptions: that a number contains only digits, belongs to one person, or tells you the owner's location or language. Its advice is to parse and format with a library and to accept numbers from other countries.

The good version is a phone number library, not a longer regex (library code not run here)js
// Bad: one country's format
/^\(\d{3}\) \d{3}-\d{4}$/.test("+44 20 7946 0958"); // false

Locales

16. Identify locales with BCP 47 tags. A tag is built from subtags in a fixed order: language, then optionally script, region and others. By convention the language is lower case, the script title case and the region upper case. W3C's golden rule is to keep the tag as short as possible.

The underscore form en_US is not a BCP 47 tag. Convert at the boundaryjs
Intl.getCanonicalLocales(["EN-us", "zh-hant-tw", "es-419"]);
// [ 'en-US', 'zh-Hant-TW', 'es-419' ]
const { language, script, region } = new Intl.Locale("zh-Hant-HK");
// zh Hant HK
Intl.getCanonicalLocales("en_US");
// RangeError: Incorrect locale information provided

17. Negotiate, then fall back. RFC 4647 defines the Lookup scheme: truncate the requested tag from the end until something matches, then return a default. Two details bite. Truncation alone does not connect zh-TW to zh-Hant, so expand the request with Intl.Locale.maximize() first. And W3C advises against using Accept-Language alone: treat it as a starting guess, let the user change it, and store the choice.

pt-PT does not fall back to pt-BR. Ship a plain "pt" if you want it tojs
function lookup(requested, available, fallback) {
const have = new Map(available.map((tag) => [tag.toLowerCase(), tag]));
for (const range of requested) {
const exact = Intl.getCanonicalLocales(range)[0];
const full = new Intl.Locale(exact).maximize().toString(); // zh-TW -> zh-Hant-TW
for (let tag of [exact.toLowerCase(), full.toLowerCase()]) {
while (tag) {
if (have.has(tag)) return have.get(tag);
tag = tag.includes("-") ? tag.slice(0, tag.lastIndexOf("-")) : "";
}
}
}
return fallback;
}
const available = ["en", "fr", "pt-BR", "zh-Hant", "es"];
lookup(["fr-CA", "en"], available, "en"); // fr
lookup(["zh-TW"], available, "en"); // zh-Hant
lookup(["es-MX", "fr"], available, "en"); // es
lookup(["pt-PT"], available, "en"); // en

Fallback applies to single strings too. Android loads a missing string from the default resource file, and warns that an app with an incomplete default file fails to run in an unsupported locale.

Layout and input

18. Text direction and bidirectional text. W3C's rules for HTML: put dir="rtl" on the html element when the document is right to left, use dir="auto" for text whose direction is unknown until run time, isolate inserted text with bdi, and never set base direction with CSS. For spacing and alignment use logical properties, which follow the writing direction.

Not run in Node. Direction lives in markup, per W3Chtml
<html lang="ar" dir="rtl">
<p>المستخدم <bdi>Aiko</bdi> أضاف تعليقا</p>
<input name="comment" dir="auto">
</html>
Not run. Property names as listed in MDN's logical properties referencecss
/* Bad: physical sides */
.card { margin-left: 16px; padding-right: 8px; text-align: left; }
/* Good: logical sides, mirrored automatically under dir="rtl" */
.card { margin-inline-start: 16px; padding-inline-end: 8px; text-align: start; }

19. Text expansion and layout. W3C reproduces IBM's averages for English translated into European languages: 200 to 300 percent for strings of up to 10 characters, 130 percent for strings over 70. Short labels grow the most: W3C's example, "views", is 2.6 times as long in French and 3 times in Italian. No fixed widths on text containers, no abbreviations to save space, and let buttons wrap or grow.

20. Fonts and line height. W3C notes that non-Latin text often has taller characters and needs more space between lines. Its Thai example takes around 150 percent of the vertical space of the Latin text, and it names Arabic, Chinese, Devanagari, Japanese, Korean and Tibetan among the scripts that need more height. Keep font size and line height adjustable per language, and avoid a fixed pixel height on anything that holds text. Apple's answer for "tall languages" is Dynamic Type.

21. Images, icons and colour. W3C lists symbols, icons and colours among the things localization may change. Android's rule for text in images: keep the string in the resource file and regenerate the image after translation. Apple's Human Interface Guidelines say to flip controls that show progress or navigate in order, such as a back button, and to avoid flipping photographs and illustrations. The engineering task is to make every asset replaceable per locale.

22. Input methods and keyboard. Many users type through an input method editor that composes a character over several keystrokes. MDN's example is Chinese entered with a Pinyin editor. KeyboardEvent.isComposing is true between compositionstart and compositionend, and a key pressed during that session belongs to the editor, not to your form.

Browser code, not run in Nodejs
// Bad: sends a half-typed message
input.addEventListener("keydown", (e) => {
if (e.key === "Enter") send();
});
// Good
input.addEventListener("keydown", (e) => {
if (e.key === "Enter" && !e.isComposing) send();
});

23. Pseudo-localization is the test. Microsoft defines it as localizing with artificial locales and an automated transformation of the source text. Android ships two pseudolocales, en-XA (accents, added length, brackets) and ar-XB (right to left), which expose hard-coded strings, layout breakage, concatenation and mirroring problems. A minimal version for the web:

Plain English on screen is hard-coded. A missing bracket is truncation or concatenationjs
const map = { a: "á", e: "é", i: "í", o: "ö", u: "ü", c: "ç", n: "ñ", s: "š" };
function pseudo(msg) {
const text = msg.replace(/(\{[^}]*\})|([A-Za-z])/g, (m, ph, ch) => ph ?? map[ch] ?? ch);
const pad = "~".repeat(Math.ceil(msg.replace(/\{[^}]*\}/g, "").length * 0.4));
return "[" + text + " " + pad + "]";
}
pseudo("Showing {shown} of {total} entries");
// [Shöwíñg {shown} öf {total} éñtríéš ~~~~~~~~]

The localization testing guide covers pseudo-locales in CI and the test layers after them.


Part 6: what localization adds on top, per locale

Internationalization leaves a product that could be in any language. Localization fills it in, once per locale:

  • Translation of every externalized string, with a glossary and a consistent tone.
  • Plural and gender forms written out for that language's categories.
  • Choices the formatter cannot make: which currency you charge, which units a region gets.
  • Assets: screenshots, images containing text, icons or colours that read differently.
  • Content outside the app: emails, notifications, help articles, store listings.
  • Legal and commercial: terms, privacy notices, prices, payment methods.
  • Review in context by someone who reads the language.

W3C adds that localization can require rethinking logic or visual design where a market's business practices differ.


Part 7: is my product internationalized? Ten quick tests

None needs a translator.

  1. Pseudo-locale walk. Turn on a pseudo-locale and click through the main flows. Plain English is a hard-coded string.
  2. Bracket check. In the same run, a sentence in two bracketed pieces is concatenation. A missing closing bracket is truncation.
  3. Force right to left. Set dir="rtl" on html in dev tools, or use Android's "Force RTL layout direction" developer option.
  4. Plural probe. Render every counted message with 0, 1, 2, 5 and 22 in Polish or Arabic.
  5. Hostile input. Paste 👨‍👩‍👧‍👦, नरेंद्र, 王秀英 and a decomposed café into every text field. Save, reload, search for it, export it.
  6. Region without language. Keep the interface in English and switch the region to Germany. If dates and numbers do not change, formatting is hard-coded.
  7. Move the clock. Run the test suite under another zone: TZ=Asia/Tokyo npm test.
  8. Sign up as someone else. One name only, a phone number and an address from another country.
  9. Unsupported locale. Request the app with a language you do not ship, then with a regional variant of one you do, such as fr-CA. You should get the default, then French, and never a crash or a raw key.
  10. Grep the code. Count the suspects:
Locale-blind case changes, default sorts, hand-built numbers and dates, concatenated lookupsbash
grep -rnE '\.to(Upper|Lower)Case\(\)|\.sort\(\)|\.toFixed\(|\.get(Month|Date|Hours)\(|t\([^)]*\) *\+' src
A product that fails test 1 is not ready for a translator. Fix that before choosing languages.
Example

Part 8: roles and the release process

RoleInternationalizationLocalization
EngineersOwn it: the checklist in Part 5Wire the file sync
DesignersFlexible layouts, mirroring, no text in imagesReview screenshots per locale
ProductDecides what "supported locale" meansOwns prices, markets, launch order
Localization managerReviews features for localizabilityOwns glossary, review and schedule
QAPseudo-locale and right-to-left runsIn-context checks per locale
Release stageInternationalization gateLocalization step
DesignLayout survives longer text and mirroringNone
Pull requestNo hard-coded strings, no concatenation, keys describedNew source strings sent for translation
CIPseudo-locale build, formatter unit testsPlaceholder, plural and missing-key checks per locale
ReleaseNo open internationalization defectsEvery shipped locale complete, or falls back by design
A cream paper-pulp relay baton on a dark stone plinth passing between two moulded hands, with a small teal glass ring around the baton at the handover point
Engineering hands over a product that can be localized. The handover is a gate, not a date

Keeping translation files in the repository with the feature is covered in localization as code, and the file checks in automated localization QA.


Part 9: what each platform gives you for free

PlatformBuilt inYou still supplyGuides
WebIntl: Collator, DateTimeFormat, DisplayNames, DurationFormat, ListFormat, Locale, NumberFormat, PluralRules, RelativeTimeFormat, Segmenter. The dir and lang attributes. Logical CSS propertiesA message catalog, an ICU message formatter (a library), locale negotiationReact, Next.js, Vue, Angular
iOSFoundation formatters (formatted(), Date.FormatStyle, currency styles), String Catalogs with plural variants, automatic grammar agreement, system components that flip for right to left, SF Symbols with right-to-left variants, asset catalogs for localized images, Dynamic TypeLocalizable API calls in your own code, the translationsiOS
AndroidResource directories with locale qualifiers and default fallback, start and end layout attributes with android:supportsRtl, BidiFormatter, the en-XA and ar-XB pseudolocales, per-app language settings from Android 13A complete default strings.xml, formatting in code, the translationsAndroid
Flutterflutter_localizations and intl packages, ARB files with gen-l10n code generation, plural and select syntax in messages, DateFormat and NumberFormatSetup: Flutter's documentation says it provides only US English localizations by defaultFlutter

Doing this with Transglot

Transglot works on the localization side. It does not internationalize code: externalizing strings, removing concatenation and calling the formatters stay with your team, and the checklist above has to be done first.

Once strings live in resource files, it translates the changed ones and runs four checks on each string before it is written: placeholders, plural forms, glossary terms and length. A translation that breaks a placeholder or a plural form gets one corrective retry and is refused if it still fails. Approved sentences are served from translation memory and not charged again. See the quality checks documentation.

Needs Node.js 22 or later. The CLI starts on the Starter planbash
npx transglot@latest init --targets fr,de,es
transglot push --wait
transglot pull

Limits: runtime SDKs are JavaScript only, with no native iOS, Android or Flutter over-the-air SDK, and it is not self-hostable. Plans are on the pricing page and setup is in the quickstart.


Common mistakes

  • Calling translation "i18n". Translating files is localization. If the code did not change, nothing was internationalized.
  • Internationalizing after the first translation. Every fixed sentence is retranslated in every language.
  • Testing in one extra language. One language cannot show plural, right-to-left and input method defects together. A pseudo-locale and a forced right-to-left run can.
  • Using the interface language as the region. Language, region, currency and time zone are four separate settings.
  • Counting characters with .length. It counts UTF-16 units, not what the user sees.
  • Lowercasing identifiers with the user's locale. Turkish breaks it.
  • Assuming pt-PT falls back to pt-BR. Lookup does not do that. It is a product decision.
  • Leaving emails and notifications out. They are strings too.

Checklist

texttext
Text and messages
[ ] Every user-visible string is in a resource file behind a key
[ ] Keys have descriptions for translators
[ ] No sentence is built by concatenation
[ ] Placeholders are named or numbered
[ ] Plurals and gender use ICU MessageFormat, full sentence per branch
Characters
[ ] UTF-8 in storage, transport, files and exports
[ ] Length limits state their unit: graphemes, code points or bytes
[ ] Truncation cuts on grapheme clusters
[ ] Identifiers and search input are normalized (NFC)
[ ] Sorting and searching use a collator
[ ] No locale-sensitive case conversion on keys or protocol values
Dates, numbers, lists
[ ] Dates and times use the platform formatter
[ ] Instants stored in UTC, zone ID stored where the place matters
[ ] Numbers, currency, units and percentages use the platform formatter
[ ] Currency code stored with every amount
[ ] Lists and relative times use the platform formatter
People and places
[ ] Name fields accept one name, any script, any order
[ ] Address form follows the selected country
[ ] Phone numbers parsed by a library, any country accepted
Locales
[ ] Locales are BCP 47 tags everywhere
[ ] Negotiation: stored user choice, then request, then default
[ ] Fallback chain is defined and tested with an unsupported locale
Layout and input
[ ] dir and lang set in markup, logical properties in CSS
[ ] No fixed widths or pixel line heights on text containers
[ ] No text inside images, assets replaceable per locale
[ ] Enter does not submit during IME composition
[ ] Pseudo-locale and right-to-left runs are part of CI

Frequently asked questions

What does i18n stand for?

i18n stands for internationalization. It is a numeronym: the first letter, the number of letters left out, and the last letter. l10n is localization and g11n is globalization.

Why is it 18 in i18n?

There are 18 letters between the first "i" and the last "n" of "internationalization". Localization has 10 between "l" and "n", and globalization has 11 between "g" and "n".

What is the difference between internationalization and localization?

Internationalization is the design and development work that makes a product adaptable to any language and region. Localization adapts the product for one specific market. The first changes code and happens mostly once. The second changes content and happens for every locale on every release.

Is i18n the same as translation?

No. Translation is one part of localization. Internationalization involves no translation: it is the engineering that lets translated text, local formats and right-to-left layouts work without code changes.

Which comes first, internationalization or localization?

Internationalization. W3C describes it as a fundamental step in design and development, not an afterthought. A product can be internationalized and ship in one language, but it cannot be localized well before that work is done.

What is the difference between globalization and localization?

Localization is always for one named market. Globalization has three uses: W3C notes some people use it for internationalization, the Unicode glossary uses it for internationalization and localization together, and Microsoft uses it for the engineering that makes an application work in all locales.

What does l10n mean?

l10n means localization: adapting a product to the language and conventions of a specific locale. It includes translation, formats, currency, images and legal text.

How this guide was checked

  • Definitions follow W3C's "Localization vs. Internationalization" article and the Unicode glossary. The Microsoft contrast follows the Microsoft Learn globalization glossary, its "Global product delivery" page and the .NET overview. Apple's and Android's wording is from their own localization documentation, listed below.
  • Every JavaScript sample with an output comment was run on Node.js 22.15.1 (ICU 77.1, CLDR 47, Unicode 16) with intl-messageformat 12.2.1. Output depends on the CLDR version and can differ on other runtimes.
  • Not run: the HTML and CSS samples, the browser keyboard sample, and any phone number library. No Swift, Kotlin or Dart was written or run. The platform rows in Part 9 follow the vendors' documentation and were not tested on devices.
  • The text expansion figures are IBM's averages as reproduced by W3C, not measurements made for this guide.
  • No cost figures are given because none were measured. Font and line height statements are limited to what W3C and Apple state.
  • Other tools and libraries named were not benchmarked.

Sources

colophon

Who wrote this, and what to read next

wrote this

transglot team

The byline on this post has no profile yet. Author profiles are managed alongside the posts themselves.

Engineering
keep reading

Localization as code: automate translations in CI/CD

Connect localization to CI/CD with scoped tokens, explicit waiting, reviewed translation snapshots and a recovery path for failed or partial runs.

February 24, 2026
7 min read
keep reading

Automated localization QA with Transglot

Catch broken placeholders, incomplete plurals and terminology conflicts. Learn what automated QA proves, where human review matters and how to validate a release.

March 31, 2026
6 min read
keep reading

i18next best practices for scalable apps

Scale i18next with deliberate namespaces, correct plural lookups, safe interpolation and explicit fallback rules. Includes working examples and a release checklist.

February 3, 2026
6 min read
works with what you already run

41 connectors, already built.

the pipeline this post describes

Try it on your own strings. Free, no card.

Free plan: 100,000 words to start (25,000 at sign-up, 75,000 after a phone check), then 10,000 a month, 15 locales including your source, 3 seats.