# l10n

> The l10n (localization) is the process of adapting a product to a specific language and region.

## What is the difference between i18n and l10n?

The process of adapting an internationalized product for a specific market: translating texts, adjusting formats, images, colors, legal texts and examples. Internationalization makes it possible, localization does it for each locale.

- Topic: Internationalization
- Type: concept

## Example

Wrong:

```js
const price = amount.toFixed(2);
label.textContent = '$' + price;
```

Right:

```js
const format = new Intl.NumberFormat(locale, { style: 'currency', currency: 'USD' });
label.textContent = format.format(amount);
```

`Intl.NumberFormat` places the symbol, separators and decimals the way each locale expects.

## Common mistakes

- Treating localization as word-for-word translation and ignoring layout and cultural differences.

## Key points

- Translated strings are reviewed in context, for example in screenshots, not only as a list.
- Images and screenshots with text have localized versions.

## Interview questions

### Why is localization abbreviated as l10n?

There are 10 letters between the first 'l' and the last 'n' of 'localization', just as i18n has 18 letters inside.

### Does localization include images and colors?

Yes. Images, icons, colors, examples, units and legal texts can all need changes for a market, not only the words.

### Can I localize an app that was not internationalized?

Only with a lot of rework. Hardcoded strings, formats and layouts must first be moved out of code, which is internationalization.

## Related cards

- [i18n](https://wonderium.dev/web/i18n.md)
- [Locale](https://wonderium.dev/web/locale.md)
- [Machine Translation](https://wonderium.dev/web/machine-translation.md)

---

- Level: [Web Platform](https://wonderium.dev/web.md)
- HTML version: https://wonderium.dev/web/l10n
- Last updated: 2026-11-25
