# locales (Go)

> Go locale data and formatting functions generated from Unicode CLDR

Source: https://talira.ai/catalog/locales-go-92226fw1
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / i18n](https://talira.ai/categories/libraries/i18n), [languages / go](https://talira.ai/categories/languages/go)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [go-playground](https://talira.ai/orgs/go-playground.md)

locales is a Go library of locales generated from the Unicode CLDR data: for each locale it has cardinal, ordinal and range plural rules, month, weekday and time zone names, date and time formatting, and number, currency, accounting and percent formatting. It works on its own or inside an i18n package, and was built for go-playground's Universal Translator. Only the Gregorian calendar is supported.

## Links

- GitHub: https://github.com/go-playground/locales

## Problems it solves

- format dates and currency amounts the way each country writes them in my Go service
- pick the right plural form of a word for each language in my Go app's messages
- show month and weekday names in the user's language in a Go program without hand-writing translation tables

## Features

- plural rules (cardinal, ordinal and range) for each CLDR locale
- month, weekday and time zone translations
- date, time, number, currency, accounting and percent formatting

## Limitations

- Supports the Gregorian calendar only.[^1]
- Its locale data comes from CLDR 36.0.1.[^1]

## Trust

Overall: 0.37 out of 1.
Signals: maintenance 0.47, adoption 0.50, momentum 0.16, community 0.47, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 3 commits in the last 90 days
- latest release v0.14.2 2 months ago
- 308 GitHub stars
- 14 contributors
- backed by go-playground

## Alternatives

- [universal-translator](https://talira.ai/catalog/universal-translator-kkqrjamj.md): i18n translator for Go using CLDR data and plural rules

## Sources

[^1]: https://github.com/go-playground/locales/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/go-playground/locales/blob/master/LICENSE (checked 28 Nov 2026)
