Skip to content
Apps By Cube Localization Team 6 min read

Internationalization (i18n) vs Localization (l10n): What Developers Must Do First

internationalization (i18n) is engineering work that makes software able to support any language and region: externalized strings, locale-aware formatti…

Internationalization (i18n) vs Localization (l10n): What Developers Must Do First

Short answer: internationalization (i18n) is engineering work that makes software able to support any language and region: externalized strings, locale-aware formatting, plural rules, flexible and direction-neutral layouts. Localization (l10n) is adapting that ready product for a specific market: translation, cultural fit, formats and testing. Developers must do i18n first; otherwise localization becomes slow, expensive and buggy.

The two terms are often used as if they mean the same thing, and that confusion causes real problems. A product team signs a contract for "localization", the vendor receives the files, and only then does everyone discover that half the text is hard-coded, sentences are built from fragments, and the layout breaks with longer words. The translation budget then pays for engineering fixes, and the launch slips.

This guide explains the difference between internationalization and localization in practical terms, and gives developers a checklist of what to do first. The numeronyms come from counting letters: "i", eighteen letters, "n" for internationalization; "l", ten letters, "n" for localization.

Definitions in one table

Internationalization (i18n)Localization (l10n)
GoalMake the product able to support any localeMake the product feel native in one locale
Who does itDevelopers, designers, architectsLinguists, localization engineers, testers, reviewers
WhenOnce, early, then maintained in every featureFor each new market, then with every release
OutputCode, resource files, flexible layoutsTranslated strings, adapted content, tested builds
Typical problems if skippedHard-coded text, broken formats, unmirrored layoutsLiteral or wrong translations, cultural mistakes

A useful way to remember it: internationalization is building the sockets; localization is plugging in each country's appliance. Some teams also use "globalization" (g11n) for the whole business process of going international, including legal, payments, support and marketing.

Flat lavender illustration of a developer at a laptop preparing code on the left and a translator with a speech bubble in several scripts on the right, connected by a dotted line
Developers prepare the product; linguists adapt it for each market.

What developers must do first: the i18n checklist

Six internationalization tasks developers should finish before localization: externalize strings, use placeholders, plural rules, locale formatting, flexible layouts, and Unicode everywhere
Six i18n tasks to finish before you send a single file to translators.

1. Externalize every user-facing string

All text a user can see belongs in resource files with stable, descriptive keys: buttons, labels, error messages, emails, notifications and accessibility labels. Use your platform's standard mechanism (String Catalogs on iOS, strings.xml on Android, JSON or YAML with a library such as i18next or your framework's built-in i18n on the web). Do not forget server-side messages and text inside images.

// Avoid
button.text = "Save changes"

// Prefer
button.text = t("settings.save_button")

2. Use full sentences with named placeholders

Never build sentences by joining pieces. Word order differs between languages, so the translator must see and control the whole sentence.

// Avoid: the translator cannot reorder this
msg = "Shared by " + name + " on " + date

// Prefer: one sentence, named variables
"doc.shared_by": "Shared by {name} on {date}"

Named placeholders such as {name} tell translators what each variable is. Positional numbers (%1$s) work too, but always add a comment explaining them.

3. Support plural rules properly

Languages have between one and six plural forms. Use a plural-aware format such as ICU MessageFormat, Android <plurals>, or iOS String Catalogs and .stringsdict, which rely on CLDR plural rules. Code that only checks if (count == 1) will be wrong in Arabic, Polish, Russian and many other languages.

"cart.items": "{count, plural, one {# item} other {# items}}"

4. Format dates, numbers and currency by locale

Use the platform's locale-aware APIs, which draw on CLDR data, instead of hard-coded patterns. In JavaScript, Intl.DateTimeFormat and Intl.NumberFormat handle date order, separators, digits and currency placement. Store dates in UTC and amounts as numbers with a currency code; format only for display. Also think about time zones, first day of the week, measurement units, address formats, phone numbers and name order.

new Intl.NumberFormat("de-DE", { style: "currency", currency: "EUR" })
  .format(1234.5);   // "1.234,50 €"

5. Make layouts flexible and direction-neutral

Translations can be considerably longer than English, especially for short labels. Avoid fixed widths, let containers grow, and allow text to wrap. Use direction-neutral layout rules (leading/trailing on iOS, start/end on Android, CSS logical properties on the web) so the UI can mirror for right-to-left languages like Arabic and Hebrew. Our guide to Arabic app localization shows what that involves.

6. Use Unicode everywhere

Store, transmit and display text as UTF-8 end to end: database, APIs, files, logs and exports. Check sorting and searching with locale-aware collation, and make sure input fields accept non-Latin names. Choose fonts that cover the scripts you plan to support.

Bonus: make translation context part of the code

Add a short description to every key, explaining where it appears and what each placeholder contains, and note character limits for tight spaces. Most resource formats support comments, and localization platforms display them to translators. See UI string translation context.

Build once, localize many times

How to verify i18n before translation: pseudo-localization

Pseudo-localization replaces your source strings with altered versions, for example with accented characters, extra length and brackets, such as [Šåvé çhåñgéš !!!]. Run the app in this pseudo-locale and you immediately see hard-coded strings (still plain English), truncation (missing brackets) and encoding problems (broken accented characters). Xcode and Android both have built-in pseudo-locales, and many localization platforms can generate them. Our guide to pseudo-localization explains how to set it up.

Before quoting a new software project, our engineers often run a quick analysis of a sample export. In one case, the analysis showed that many strings were sentence fragments joined in code, and that several error messages lived only in the backend. We shared the list with the client's developers before translation started; they merged the fragments into full sentences with placeholders and moved the backend messages into resource files, so translation could begin on stable, complete text.

Then comes localization

Once the product is internationalized, localization can run efficiently. For each target market it includes:

  • Translation and review by native linguists with a glossary and style guide.
  • Cultural adaptation of examples, images, colors, names and humor.
  • Locale settings such as default currency, units, calendar and digit system.
  • Content beyond the UI: help center, emails, store listings, legal pages.
  • Linguistic and functional testing in the running product. See software localization testing.
  • Continuous updates as new strings arrive with each release.

For the full process, cost and timeline, read our pillar guide to software localization services.

Common i18n mistakes developers make

  • Reusing one string in different contexts. "Open" as a button and "Open" as a status may need different translations. Give each its own key.
  • Putting markup inside strings without a plan. Some HTML is fine if protected, but complex nested markup confuses translators and breaks easily.
  • Using flags for languages. Flags represent countries, not languages. Use language names written in their own language in language pickers.
  • Assuming the locale from IP address alone. Let users choose their language and remember the choice.
  • Uppercasing or truncating in code. Case rules and character boundaries differ by language; let the platform handle them.
  • Sorting with simple string comparison. Use locale-aware collation.
Flat lavender illustration of a product manager, developer and translator standing together around a large app screen with a checklist, all smiling
When i18n is done first, localization becomes routine.

How Cube works with development teams

Cube Localization provides the localization side, and we help with the handover between the two. Our engineers can review sample files and point out i18n gaps before translation starts, then our native linguists in 60+ languages translate with context, and our testers check the result in your build. Read our localization engineering case study, see our web and software localization service, or request a quote.

Frequently asked questions

What is the difference between i18n and l10n in one sentence?

Internationalization prepares the code so the product can support any language and region; localization adapts the prepared product for one specific language and market.

Who is responsible for internationalization?

Your development and design teams. A localization vendor can audit files and flag problems, but the changes are made in your codebase.

Can we localize without internationalizing first?

Technically you can translate hard-coded text by editing code directly, but it is slow, error-prone and has to be repeated for every language and release. Internationalizing first is almost always cheaper.

Is internationalization a one-time task?

The initial refactor is one-time, but every new feature must follow the same rules. Add i18n checks to code review and linting, and use pseudo-localization in testing.

What is a locale?

A locale is a combination of language and region, such as en-US, en-GB, ar-SA or fr-CA. It controls translations as well as formats for dates, numbers, currency and sorting.