Game dev
Saved & recent

Localization

Also called: l10n

Related terms: translation, string table, internationalization

Adapting a game for other languages and regions. Text is never written into the code. The code refers to a key, and a string table maps each key to the text in every language.

It is more than translation. German runs long. Japanese and Arabic need their own fonts, and Arabic reads right to left. Plurals, dates and numbers follow different rules. UI built with flexible layouts from the start avoids most of the pain.

Further reading
IGDA: Best Practices for Game Localization
key language display text btn_start en Start de Spiel starten ja スタート Start Spiel starten Spiel starten fixed width text overflow content width
The same key displays different text in English, German and Japanese. The German label exceeds the fixed width and fits when the button grows with its contents.

View in the full Game dev collection