# nicksnyder/go-i18n

Translate your Go program into multiple languages.

Repository: https://github.com/nicksnyder/go-i18n
Canonical: https://ross.abutalabs.com/products/go-i18n
Language: Go
License: MIT
License Family: permissive
Topics: go, cldr, translation, translation-files, i18n
Last push: 2026-08-14T18:39:41+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 51, longevity 100
- inputs: {"age_days": 5345, "days_push": 19, "days_rel": 245, "gap_med": 81.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3544, forks 286 (observed 2026-08-28T04:08:09.368186+00:00)

## What it is
go-i18n is a Go package and companion CLI for translating Go programs into multiple languages. It supports CLDR plural rules for 200+ languages, template-based message strings, and message files in formats like JSON, TOML, and YAML.

## Use cases
- translate a Go web application into multiple languages
- handle pluralized strings correctly across locales
- load translation message files from JSON, TOML, or YAML
- extract translatable messages from Go source code
- localize responses based on Accept-Language headers
- manage translation file workflows with a CLI

## When to choose
- you are building a Go application or web server that needs multilingual support
- you need correct CLDR pluralization rules for many languages
- you want a mature, widely used i18n solution for Go
- you need tooling to extract and manage translation message files

## When to avoid
- your project is not written in Go
- you only need simple static string substitution without locale awareness
- you need frontend/browser i18n rather than server-side Go localization

## Facets
- artifact type: library
- maturity: stable
- function: internationalization, templating, cli
- domain: web-development, backend, developer-tools
- platform: go, cross-platform, cli
- tags: i18n, translation, cldr, pluralization, message-files, localization

## Member repositories
- nicksnyder/go-i18n (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:09.368186+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:34:26.510868+00:00, confidence not recorded.
  - readme: https://github.com/nicksnyder/go-i18n (fetched 2026-08-28T04:08:09.368186+00:00, sha 69a7053acf9d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
