Locale Format Conventions: Dates, Names, Addresses

Locale Format Conventions: Dates, Names, Addresses

Formatting is not part of translation. The locale divergence map for dates, numbers, currency, names, addresses, sorting, and plurals — driven by CLDR and ICU.

Formatting is not part of translation — a perfectly translated string with an English date, number, name, or address shape is still wrong. Formats diverge by locale, not by language, and even within one language across regions, so they have to be driven from Unicode CLDR data through the Intl or ICU APIs rather than from hardcoded string templates. This guide gives you the divergence map for dates, numbers, currency, names, addresses, phone numbers, sorting, and pluralization, the CLDR/ICU pattern that makes it correct, and where cultural review sits alongside the linguistic work.

Why formatting is not part of translation

A team that has "fully translated" a site has not localized its formats, and the gap is invisible until a user in the target market sees a date that means a different day to them than it does to the author. Translation operates on words; formatting operates on data the words surround — a timestamp, a price, a name, an address — and that data has conventions the translation pipeline never touches.

The divergence is not language-keyed. English speakers in the United States, the United Kingdom, and Canada disagree on date order. Spanish speakers in Spain and Mexico disagree on number grouping and currency. A format is a property of the locale, not of the language alone: locale identifiers such as en-US and en-GB add a region subtag to the language code to select regional conventions. In BCP 47 the region subtag is optional, so a bare language tag such as en is also a valid identifier. Treating format as a function of language produces content that is right in one market and quietly wrong in the next one that shares the language.

Hardcoded format assumptions are the recurring defect this concern exists to remove. A DD/MM/YYYY template, a comma decimal separator baked into a helper, a US address form reused everywhere, a two-form plural switch — each is a guess frozen into code, and each is wrong somewhere. The durable position is that format is data-driven from the locale, sourced from a maintained dataset rather than from a developer's memory of how their own country writes things.

Dates, numbers, and currency

Dates diverge on order, separators, and the calendar system itself. Field order differs across locales, separators differ, month and weekday names are language-specific, and some locales use non-Gregorian calendars for civil or cultural display. None of this is safe to assemble by concatenation.

Numbers diverge on the decimal separator, the grouping separator, the grouping size, and the digit set, and the divergence does not follow language boundaries: it varies between regions that share a language. Currency adds symbol position, spacing, and rounding on top of the number rules — the symbol may lead or trail, may or may not have a space, and the default number of fraction digits is set by the currency rather than the locale (zero for JPY, two where no currency-specific value is available). The deeper question of which payment methods and currencies a market actually transacts in is the payment-methods concern in this same topic; this section owns only how a currency value is displayed once the market and amount are known.

The implementation pattern is the locale-aware formatter, never the string template:

js
const when = new Date('2026-05-16T09:00:00Z');

new Intl.DateTimeFormat('en-US', { dateStyle: 'long', timeZone: 'UTC' }).format(when);
// "May 16, 2026"
new Intl.DateTimeFormat('en-GB', { dateStyle: 'long', timeZone: 'UTC' }).format(when);
// "16 May 2026"

new Intl.NumberFormat('de-DE').format(1234567.89);
// "1.234.567,89"
new Intl.NumberFormat('en-IN').format(1234567.89);
// "12,34,567.89"  (grouping size is not always three)

new Intl.NumberFormat('ja-JP', { style: 'currency', currency: 'JPY' })
  .format(2980);
// "¥2,980"  (symbol position follows the locale; zero fraction digits follow JPY)

Two failure modes hide inside dates specifically. The first is the calendar system: some locales display civil or cultural dates in a non-Gregorian calendar, and a pipeline that formats the Gregorian value and translates the month name produces a date that is technically legible but culturally foreign in those markets. The locale-aware formatter resolves the calendar from the locale; a string template cannot. The second is the conflation of locale with time zone. The format of a timestamp is a locale property; the instant it refers to is a time-zone property, and they are independent — a user in one region may prefer another region's language while still expecting times in their own zone. Formatting a date correctly while displaying it in the server's time zone is a defect that looks like a formatting bug and is actually a missing time-zone decision.

In V8, the JavaScript engine in Chrome and Node.js, for example, the internationalization API is enabled by default and depends on the ICU project, whose releases update to new Unicode Common Locale Data Repository locale data. The ECMA-402 specification itself recommends, but does not require, that implementations use CLDR locale data. The point of using these APIs is not convenience — it is that the locale conventions change over time and CLDR is maintained while a hardcoded table is not.

Names, addresses, and phone numbers

Name order is not universal. The given-name-then-family-name order is one convention among several, some cultures place the family name first, some use a single name, and many people have name structures that do not fit a two-field form at all. A "first name" and "last name" pair is therefore a localization defect rather than a neutral default. The W3C Internationalization article Personal names around the world describes two of the problems it causes: in non-localized forms, the labels "first name" and "last name" can be confusing for people who normally write their family name followed by given names; and if a form requires a family name, people whose names consist of a given name only (the article cites a large number of people in parts of Southern India, Malaysia and Indonesia) may enter garbage data such as "." or "Mr." in the family-name field just to escape the form.

Address structure varies more than forms usually allow. The position of the postal code, the number and naming of administrative levels, whether the house number precedes or follows the street, and the order of the lines all differ by country. A form that hardcodes a US shape — street, city, state dropdown, five-digit ZIP — produces forms that do not fit addresses structured differently from the US pattern, and dirty data where users force their address into it. The form schema has to adapt to the country, which usually means a country-driven layout rather than one global address form.

The pragmatic recommendation, in line with that W3C article, is a single full-name field plus, where the workflow genuinely needs it, a separate field for the name as it should appear in a salutation — collected from the user rather than derived by splitting on a space. Splitting a full name into "first" and "last" by whitespace is wrong for anyone whose name does not follow a given-name, space, family-name pattern, and silently corrupts their data; asking once is cheaper than the support and trust cost of getting it wrong at scale.

Phone numbers have per-country formatting and dialing rules, and validating them with a single regular expression is a recurring failure. The robust approach is a metadata-driven library that knows national formats and the E.164 international format for storage, so a number is displayed in the local convention and stored canonically. Store canonical, display local — the inverse, storing whatever the user typed in their local format, makes every downstream use ambiguous.

Sorting, units, and pluralization

Sorting by codepoint is not alphabetical order in any language, and it can become visibly wrong once a list contains accented characters or a non-Latin script. Collation is locale-specific — the same characters sort differently in different languages, and case and accent sensitivity are comparison settings that the application can choose, some with locale-specific defaults. The Unicode collation algorithm, UTS #10 and the locale tailoring in UTS #35, defines the reference behavior. In JavaScript the locale-aware comparator is Intl.Collator; ECMA-402 leaves its comparison implementation-defined (it must honor canonical equivalence) but recommends implementing it with UTS #10 and the tailorings provided by CLDR:

js
const names = ['Öztürk', 'Ostrom', 'Ångström', 'Andersson'];

names.slice().sort();
// code unit order — matches Swedish here only by accident; German and English sort Ångström before Ostrom

names.slice().sort(new Intl.Collator('sv').compare);
// Swedish collation: Å, Ä, Ö sort after Z
names.slice().sort(new Intl.Collator('de').compare);
// German collation orders the same letters differently

Units and calendar conventions are locale data too — measurement system, the first day of the week, and time conventions all vary and should be resolved from the locale rather than assumed. Pluralization is where a codebase can be structurally wrong: many languages have more than the two plural forms English has, with categories such as zero, one, two, few, many, and other, and a binary count === 1 ? singular : plural switch produces grammatically broken strings in those languages. The correct tool is the CLDR plural-rules data, exposed as a locale-aware plural selector:

js
const pr = new Intl.PluralRules('ar');
pr.select(0);   // "zero"
pr.select(1);   // "one"
pr.select(2);   // "two"
pr.select(11);  // "many"
// English has only "one" and "other"; Arabic has six categories

Cultural color and imagery meaning

Localization that stops at words misses a layer that can invert the message. Color connotations differ by market, and a color chosen to signal success, caution, or celebration in one culture can read as the opposite in another, which means a status color or a campaign palette is a localization decision, not a fixed brand constant applied globally without review.

Imagery localizes the same way. Stock photography, illustrated examples, gestures depicted in an interface, and the sample names and data shown in screenshots all carry cultural meaning — a hand gesture that is neutral in one market is offensive in another, and a worked example built on a foreign name and address reads as not-for-me even when the surrounding copy is flawless. Number and symbol associations also affect commerce in some markets, influencing how prices, floor numbers, or product labels are chosen, which is a content and pricing decision rather than a formatting one.

The operational consequence is that cultural review sits alongside linguistic review as a distinct gate, not as an afterthought folded into proofreading. A reviewer who is fluent in the language but not in the market will pass copy that a market-resident reviewer would flag, so the review function for a serious localization is two-dimensional: linguistic correctness and cultural fit, checked by people positioned to see each.

Operationalizing with CLDR and ICU

Everything in this concern reduces to one architectural rule: drive all formatting from CLDR data keyed by the locale, through the Intl or ICU APIs, and never assemble a formatted value by hand. The table teams reach for — a grid of "this locale uses this date format" — is useful for understanding the divergence but must not be the implementation, because CLDR is maintained and a frozen table is not; the table illustrates the problem while CLDR is the source of truth.

ConcernWrong (hardcoded)Right (locale-driven)
Date`dd + '/' + mm + '/' + yyyy``new Intl.DateTimeFormat(locale)`
Numberreplace `.` with `,``new Intl.NumberFormat(locale)`
Currency`'$' + amount``new Intl.NumberFormat(locale, { style: 'currency', currency })`
Sortdefault `.sort()``new Intl.Collator(locale)`
Plural`n === 1 ? a : b``new Intl.PluralRules(locale)`
Name/addressfirst/last + US formcountry-driven schema

Centralize the formatters so there is one place each value type is rendered, and never concatenate two separately formatted fragments — a date glued to a translated label by string addition reintroduces the assumption the formatter removed. Test with pseudo-locales and deliberately chosen edge locales: a right-to-left locale, a non-Gregorian calendar locale, a locale with non-three-digit grouping, and a locale with six plural forms will surface defects that an English-and-one-European-language test can miss. The translation-quality side — what gets transcreated, what gets machine-translated with review, what is locked — is a separate workstream, the transcreation concern within this topic, and the two are run in parallel because a string can be perfectly translated and badly formatted, or perfectly formatted and badly translated, independently.

What to ship for locale formats

  • Route every date, number, and currency through Intl/ICU keyed by locale — delete hardcoded format templates and separator swaps
  • Replace first-name/last-name and US-shaped address forms with a country-driven schema; store phone numbers in E.164 and display local
  • Use locale-aware collation for every user-facing sort, never the default codepoint sort
  • Use CLDR plural rules instead of a two-form count === 1 switch
  • Add cultural review (color, imagery, examples) as a distinct gate alongside linguistic review
  • Test with pseudo-locales plus RTL, non-Gregorian, long-grouping, and multi-plural edge locales
  • Centralize formatters and never concatenate two separately formatted values by hand
Project Inquiry