About LocaleDB
Open-source reference for global localization standards. Currency formats, date patterns, country codes, and more for every country.
The Problem
Modern web development requires products to work globally. But localization (L10n) is much more than just translating text. Developers struggle with:
- Currency symbol placement (before or after the amount?)
- Date format differences (DD/MM/YYYY vs MM/DD/YYYY)
- Number separators (1,250.00 vs 1.250,00)
- Phone number formats
- Address formatting conventions
- Time zones and calendar systems
This data is scattered across complex documentation, buried in CLDR files, or requires installing heavy libraries just to check a simple format.
Our Solution
LocaleDB is a developer-first, community-driven encyclopedia that provides:
- Structured JSON data for every country's localization standards
- Ready-to-use formats you can copy directly into your code
- CLDR-based accuracy using Unicode's Common Locale Data Repository
- Open source so anyone can contribute corrections
- Fast, static generation with no server required
Data Sources
LocaleDB aggregates data from trusted sources:
- CLDR (Common Locale Data Repository) - Unicode's standard for locale data
- mledoze/countries - Comprehensive country information
- Google libaddressinput - Address format standards
- Community contributions - Local experts verifying accuracy
Open Source
LocaleDB is MIT licensed and welcomes contributions. Whether you're fixing a typo, adding a missing country, or improving the UI, we'd love your help.