Registry / utility / leonelquinteros-gotext

leonelquinteros-gotext

JSON →
library1.7.2gogounverified

Package gotext implements GNU gettext utilities for internationalization and localization in Go.

go get github.com/leonelquinteros/gotext
INSTALL
IMPORT
SIG · LEONELQUINTEROS-GO
L
leonelquinteros-gotext
utilitygov1.7.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.

gotext
github.com/leonelquinteros/gotext

Load a .po file and translate a string.

package main import ( "fmt" "github.com/leonelquinteros/gotext" ) func main() { po := gotext.NewPo() po.ParseFile("locale/en.po") fmt.Println(po.Get("Hello")) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
leonelquinteros-gotext — go get leonelquinteros-gotext · libregistry