Registry / utility / mattermost-go-i18n

mattermost-go-i18n

JSON →
library1.11.0gogounverified

Internationalization library for Go.

go get github.com/mattermost/go-i18n
INSTALL
IMPORT
SIG · MATTERMOST-GO-I18N
M
mattermost-go-i18n
utilitygov1.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

i18n
github.com/mattermost/go-i18n

Loads a translation file and prints a translated string.

package main import ( "fmt" "github.com/mattermost/go-i18n" ) func main() { i18n.MustLoadTranslationFile("en.json") fmt.Println(i18n.T("hello")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.11.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mattermost-go-i18n — go get mattermost-go-i18n · libregistry