|
|
9 years ago | |
|---|---|---|
| examples | 9 years ago | |
| testdata | 9 years ago | |
| .gitignore | 9 years ago | |
| LICENSE | 9 years ago | |
| README.md | 9 years ago | |
| benchmarks_test.go | 9 years ago | |
| errors.go | 9 years ago | |
| import_export.go | 9 years ago | |
| import_export_test.go | 9 years ago | |
| logo.png | 10 years ago | |
| translator.go | 9 years ago | |
| translator_test.go | 9 years ago | |
| universal_translator.go | 9 years ago |
Universal Translator is an i18n Translator for Go/Golang using CLDR data + pluralization rules
Because none of the plural rules seem to be correct out there, including the previous implementation of this package, so I took it upon myself to create locales for everyone to use; this package is a thin wrapper around locales in order to store and translate text for use in your applications.
Use go get
go get github.com/go-playground/universal-translator
Please see https://godoc.org/github.com/go-playground/universal-translator for usage docs
To anyone interesting in helping or contributing, I sure could use some help creating tests for each language. Please see issue here for details.
Distributed under MIT License, please see license file in code for more details.