Software internationalization is designing software so it can be adapted to different languages, regions and conventions without redesigning its core logic. Software localization performs a particular adaptation. Preparing the machinery and supplying a translated or region-specific result are related but distinct tasks.[ref]
Localization vs. Internationalization by the World Wide Web Consortium. Internationalization and Localization working definitions
For example, a program displaying a file count can keep the numerical count separate from the message that presents it. The selected software locale and message resources can then determine the full phrase, word order and grammatical form. Building every message by appending a fixed word to a decimal number assumes more about language than the underlying count requires. Similarly, a date represented as separate year, month and day values can be formatted for a chosen audience, whereas the bare string
03/04/2026 leaves the month/day convention ambiguous.[ref]Localization vs. Internationalization by the World Wide Web Consortium. Internationalization items1,3–4: string construction, locale preferences and separated resources
The engineering work includes selecting suitable character encodings, supporting Unicode, accounting for text direction, and separating localizable resources from source code. International Components for Unicode supplies reusable implementations of many text and formatting services. Internationalization still needs application-level decisions: a display format cannot supply a missing unit, infer an unspecified date convention or replace a meaningful data model.[ref]
Localization vs. Internationalization by the World Wide Web Consortium. Internationalization items1–4
A locale, also called a software locale, identifies a set of language-related and regional conventions used by software. Locale-sensitive services use it to select behavior such as date formatting, number formatting or culturally appropriate text ordering. A locale identifier can specify a language, script, region and further options.[ref]
ICU User Guide by the Unicode Consortium. Locales and Resources, The Locale Concept and component fields; unicode-org.github.io/icu/userguide/locale/
An original date example separates meaning from presentation. Let a stored value have year2026, month3 and day4. A day/month/year pattern displays
04/03/2026, while a month/day/year pattern displays 03/04/2026. Both represent the same date under their declared patterns. The bare strings do not carry all the information needed to choose the interpretation without context.A program can pass the selected locale as a parameter to a formatting service instead of hard-coding every convention. Changing that parameter changes the presentation requested for the operation. It does not change the stored date's year, month and day, infer a user's nationality, or convert the character encoding of every string.[ref]
The distinction from encoding is especially useful. Two applications can both store text as UTF-8 while choosing different locale-sensitive display forms. Conversely, two different byte encodings can represent the same textual date. A test record should therefore identify the semantic value, locale selection, format options and relevant library/data version separately.
The Common Locale Data & Rules project supplies shared data for such services, and International Components for Unicode provides implementations using locale information. A default locale is a convenience for choosing behavior when the application does not supply an explicit choice; making the choice explicit improves reproducibility of an example.[ref]
ICU User Guide by the Unicode Consortium. Locales and Resources, Default Locales and Locales and Services
A locale identifier is a structured name used to select a locale for a software service. It can encode language, writing system, region and additional preferences. The identifier names a requested configuration; it is not the full set of formatting or sorting rules.[ref]
ICU User Guide by the Unicode Consortium. Locales and Resources, The Locale Concept and Canonicalization
In the traditional International Components for Unicode syntax,
en_US identifies English with the United States region, while en_GB selects the United Kingdom region. For an original test, pass the same semantic date to a formatter twice, changing only the locale identifier. Compare the resulting text while keeping the data version and explicit format options fixed. Changing the output text does not change the stored date or its UTF-8 encoding.Parsing a locale identifier successfully does not establish that a service has data for it. A library may use fallback resources. Reproducible software tests should therefore record the requested identifier and relevant service/data versions, and inspect the effective resource choice when that matters.[ref]
ICU User Guide by the Unicode Consortium. Locales and Resources, Locales and Services; Usage: Creating Locales, constructor validity versus available resources
Software localization adapts a software product for a particular audience's linguistic, regional and cultural requirements. It includes translation of visible text, but can also involve dates, numbers, currencies, keyboard use, sorting and visual presentation. Software internationalization prepares the product so that these adaptations can be supplied and selected.[ref]
Localization vs. Internationalization by the World Wide Web Consortium. Localization and Internationalization working definitions
An original engineering example is an application that displays a transaction amount, a date and a status message. Retain the numerical amount and date as structured values; select display patterns and message resources for the intended software locale. A translated status message can then change independently of the computation that produced the amount.
Suppose the same date value is presented with a month/day/year pattern in one localized interface and a day/month/year pattern in another. Testing only whether the two displayed strings are equal would be the wrong criterion. The relevant check is whether each presentation follows its declared conventions while preserving the represented value. Parsing user input requires the corresponding conventions too.
Resource separation is one enabling design choice: localizable messages and patterns can be changed without replacing the core computation. Localization must still be checked in the running interface, where text length, direction and layout constraints interact. A translated resource file alone does not establish that every control remains readable or that every input is interpreted correctly.[ref]
Localization vs. Internationalization by the World Wide Web Consortium. Internationalization items1–4; Localization: format, script and presentation requirements
Articles by others on the same topic
There are currently no matching articles.