Skip to content
G

Go I18n

Translate your Go program into multiple languages

by nicksnyderFree

#1058in Utilities
0In stores

Description

go-i18n is a Go package and command-line tool for translating Go programs into several languages. The package looks up messages according to…

Highlights

  • Message lookup by locale preferences
  • Plurals for more than 200 languages
  • Named variables with text/template
  • JSON, TOML and YAML message files
  • goi18n extract and merge commands

Ratings & Reviews

No ratings yet

Be the first to rate Go I18n.

People also visit

G

Gotext

Go (Golang) GNU gettext utilities package

Utilities
Launch
G

GT

Full-stack localization for every framework

Utilities
Launch
I

i18n-expert

Should be used when setting up, auditing

AI Skills
Get
S

Shipi18n

Translation API for developers with i18next superpowers

Developer Tools
Launch
N

NG Extract I18n Merge

Extract and merge i18n xliff translation files for angular projects

Utilities
Launch
I

i18n-localization

Internationalization and localization patterns

AI Skills
Get

Go I18n FAQ

What is go-i18n?

A Go package and command for translating Go programs into multiple languages.

Which languages are supported?

Plurals work for more than 200 languages from the Unicode CLDR data, and you can translate into any language you add.

What file formats are supported?

Message files can be JSON, TOML, YAML or other formats.

How do I add a new language?

Create an empty message file, run goi18n merge to populate it, translate it, rename it to active, and load it into the bundle, as the README explains.

Does it find messages in my code?

Yes. goi18n extract collects the i18n.Message literals from Go source files.

What license is it under?

MIT, as the README states.

What are the best Go I18n alternatives?

Popular alternatives to Go I18n include Gotext, GT and NG Extract I18n Merge. See all Go I18n alternatives

Developer Stuff

Badges