Skip to content
BENIBIX Learn

Internationalization (i18n)

Design📐 Design StandardsMultilingual Design

Also known as i18n, Internationalisation, Software Internationalization

Building a product so it can work in any language. You add each one later.

Think of it like

It is like a lunch box with spaces of many shapes. Food from any home fits in it.

Example

A shop app keeps every label in a text file. Adding French later means one new file, not a new app.

Why it matters

Doing it from the start is cheap. Pulling words out of a finished product later costs far more.

Definition

Internationalization means building a product so it can work in any language and region without being rebuilt. Words are kept out of the code, in files that a translator can fill. Layouts leave room for longer text, and they can flip for languages read from right to left. Dates, numbers and money are shown the local way. The short form is i18n, because 18 letters sit between the i and the n.

Example code

json
{
  "cart.title": "Your cart",
  "cart.empty": "Your cart is empty"
}
The labels live in a file, not in the code. A translator fills a copy of it for each language.
The app is built once. After that, each new language is just one new file.

Common mistake

Gluing a sentence together from pieces, like 'You have' plus a number plus 'items'. Other languages put the words in a different order.

Key takeaways

  1. 1
    Words out of the code. In files to translate.
  2. 2
    Room to grow and flip. Long text, right to left.
  3. 3
    Local formats. Dates, numbers, money.

Compare