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
| Internationalization | Localization | |
|---|---|---|
| W3C | The 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 language | The adaptation of a product, application or document content to meet the language, cultural and other requirements of a specific target market, a locale |
| Unicode glossary | Designing and implementing a software product so that it can be easily localized | Adapting a software product to use the languages and conventions suitable for a local market |
| Apple | Preparing your code and assets for translation into different languages and regions | Translating your strings and varying your assets for multiple languages and regions |
| Short form | i18n | l10n |
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.
| Numeronym | Word | Letters between first and last |
|---|---|---|
| i18n | internationalization | 18 |
| l10n | localization | 10 |
| g11n | globalization | 11 |
| a11y | accessibility | 11 |
a11y is in the table only because it follows the same rule. It is a different discipline.
Part 2: the comparison in one table
| Question | Internationalization | Localization |
|---|---|---|
| Who does it | Engineers and designers | Translators, reviewers, a localization manager, product, legal |
| When | During design and development, before the first translation | After the source text exists, per market |
| How often | Once per feature, then maintained | Every release, for every locale |
| What it changes | Code, schemas, layouts, build | Resource files, assets, store listings, prices, legal text |
| Needs a target language | No | Yes, always a named locale |
| What a defect looks like | The same bug in every locale: clipped buttons, "1 items", a broken sentence | A bug in one locale: a wrong term, a missing string |
| How it is tested | Pseudo-localization, unit tests on formatters, a forced right-to-left layout | Linguistic 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.
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.

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.
Part 4: globalization, and why Microsoft's words differ
"Globalization" has no single meaning.
| Source | "Globalization" means | "Internationalization" means |
|---|---|---|
| W3C | Another word some people use for internationalization | The engineering that makes localization possible |
| Unicode glossary | The overall process of internationalization and localization | The engineering |
| Microsoft | The 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.
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.
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.
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.
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.
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:

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.
7. Sort and search with a collator. The default sort compares code units: capitals first, accented letters last. Alphabetical order also differs by language.
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.
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.
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.
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.
12. Relative time. "2 days ago" is a plural and a word order problem at once.
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.
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.
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.
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.
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.
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.
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:
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.
- Pseudo-locale walk. Turn on a pseudo-locale and click through the main flows. Plain English is a hard-coded string.
- Bracket check. In the same run, a sentence in two bracketed pieces is concatenation. A missing closing bracket is truncation.
- Force right to left. Set
dir="rtl"onhtmlin dev tools, or use Android's "Force RTL layout direction" developer option. - Plural probe. Render every counted message with 0, 1, 2, 5 and 22 in Polish or Arabic.
- Hostile input. Paste
👨👩👧👦,नरेंद्र,王秀英and a decomposedcaféinto every text field. Save, reload, search for it, export it. - 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.
- Move the clock. Run the test suite under another zone:
TZ=Asia/Tokyo npm test. - Sign up as someone else. One name only, a phone number and an address from another country.
- 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. - Grep the code. Count the suspects:
A product that fails test 1 is not ready for a translator. Fix that before choosing languages.
Part 8: roles and the release process
| Role | Internationalization | Localization |
|---|---|---|
| Engineers | Own it: the checklist in Part 5 | Wire the file sync |
| Designers | Flexible layouts, mirroring, no text in images | Review screenshots per locale |
| Product | Decides what "supported locale" means | Owns prices, markets, launch order |
| Localization manager | Reviews features for localizability | Owns glossary, review and schedule |
| QA | Pseudo-locale and right-to-left runs | In-context checks per locale |
| Release stage | Internationalization gate | Localization step |
|---|---|---|
| Design | Layout survives longer text and mirroring | None |
| Pull request | No hard-coded strings, no concatenation, keys described | New source strings sent for translation |
| CI | Pseudo-locale build, formatter unit tests | Placeholder, plural and missing-key checks per locale |
| Release | No open internationalization defects | Every shipped locale complete, or falls back by design |

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
| Platform | Built in | You still supply | Guides |
|---|---|---|---|
| Web | Intl: Collator, DateTimeFormat, DisplayNames, DurationFormat, ListFormat, Locale, NumberFormat, PluralRules, RelativeTimeFormat, Segmenter. The dir and lang attributes. Logical CSS properties | A message catalog, an ICU message formatter (a library), locale negotiation | React, Next.js, Vue, Angular |
| iOS | Foundation 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 Type | Localizable API calls in your own code, the translations | iOS |
| Android | Resource 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 13 | A complete default strings.xml, formatting in code, the translations | Android |
| Flutter | flutter_localizations and intl packages, ARB files with gen-l10n code generation, plural and select syntax in messages, DateFormat and NumberFormat | Setup: Flutter's documentation says it provides only US English localizations by default | Flutter |
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.
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-PTfalls back topt-BR. Lookup does not do that. It is a product decision. - Leaving emails and notifications out. They are strings too.
Checklist
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-messageformat12.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
- W3C: Localization vs. Internationalization
- Unicode: Glossary of Unicode Terms
- Microsoft Learn: Globalization glossary, Global product delivery, Globalize and localize .NET applications
- Apple: Localization, Supporting multiple languages in your app, Preparing dates, currencies, and numbers for translation, Human Interface Guidelines: Right to left
- Android: Localize your app, Support different languages and cultures, Test your app with pseudolocales
- Flutter: Internationalizing Flutter apps
- W3C: Working with composite messages, Personal names around the world, Text size in translation, Structural markup and right-to-left text in HTML, Language tags in HTML and XML, Accept-Language used for locale setting, Normalization in HTML and CSS, Choosing and applying a character encoding, Working with Time and Time Zones
- IETF: RFC 4647, Matching of Language Tags
- Unicode CLDR: Plural rules
- ICU: Formatting messages
- FormatJS: intl-messageformat
- MDN: Intl, Intl.Segmenter, Intl.Collator() options, String.prototype.toLocaleUpperCase(), CSS logical properties and values, KeyboardEvent.isComposing, compositionstart event
- MySQL: The utf8mb4 character set
- ITU-T: Recommendation E.164
- Google libphonenumber: Falsehoods programmers believe about phone numbers
- The A11Y Project: a11y and other numeronyms