Locale Hr Hr
Use when working with the Croatian (Croatia) locale (`hr-HR`) — its endonym Hrvatski (Hrvatska), Latin script, left-to-right (LTR) direction, or spoken-population data. Reference data and translation guidance (register, grammar, idiom, typography) for this specific locale; see [[locale]] for general i18n/l10n concepts (BCP 47, plural rules, RTL) that apply across all locales.
Reference data for the Croatian (Croatia) locale — endonym Hrvatski (Hrvatska), written in the Latin script, left-to-right (LTR).
Identifiers
- BCP 47 tag:
hr-HR - ISO 639-1:
hr - ISO 639-3:
hrv - Script: Latn (Latin)
- Region: HR (Croatia)
- Text direction: ltr — left-to-right (LTR)
Speakers (approximate)
- L1 (native): 3,900,000
- L2 (additional): 300,000
- L1+L2 (total): 4,200,000
Base locale
This is a regional variant of Locale Hr 001 (Croatian), the base/macro locale for this language.
Pluralization
CLDR plural categories for this locale: one, few, other (3 forms).
- one —
v = 0 and i % 10 = 1 and i % 100 != 11 or f % 10 = 1 and f % 100 != 11(e.g. 1, 21, 31, 41, …) - few —
v = 0 and i % 10 = 2..4 and i % 100 != 12..14 or f % 10 = 2..4 and f % 100 != 12..14(e.g. 2~4, 22~24, 32~34, 42~44, …) - other — everything else (e.g. 0, 5~19, 100, 1000, …)
See Unicode Messageformat for writing plural messages using these categories.
Translating into this locale
Apply Locale Hr 001 with the conventions of Croatia.
- Currency and formats: euro (
12,50 €) since 1 January 2023; dates17. 10. 2026.; 24-hour clock; decimal comma. - Terminology: use Croatian EU terminology (an official Croatian version exists) for legal and administrative content.
- Names: place names follow the official Croatian forms (Zagreb, Dubrovnik) and diacritics.
Common pitfalls
- Using kuna for current prices.
- Using Serbian or Bosnian vocabulary.
- The general pitfalls in Locale Hr 001 also apply.
Learn more
- Locale for BCP 47 identifiers, locale-sensitive formatting, pluralization, and text-direction concepts that apply across all locales.
- Unicode Messageformat for writing plural/selection messages correctly for this locale's grammar.
- Unicode CLDR locale data for number, date, and currency formats (https://cldr.unicode.org)