Registry / utility / linkinstars-go-i18n-v2

linkinstars-go-i18n-v2

JSON →
library2.2.2gogounverified

Internationalization (i18n) library for Go applications with support for multiple languages.

go get github.com/LinkinStars/go-i18n/v2
INSTALL
IMPORT
SIG · LINKINSTARS-GO-I18
L
linkinstars-go-i18n-v2
utilitygov2.2.2
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/LinkinStars/go-i18n/v2

Set language to Chinese and translate a key.

package main import ( "fmt" "github.com/LinkinStars/go-i18n/v2" ) func main() { i18n.SetLanguage("zh-CN") fmt.Println(i18n.T("hello")) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Meta
1
Resources
linkinstars-go-i18n-v2 — go get linkinstars-go-i18n-v2 · libregistry