Registry / utility / chai2010-gettext-go

chai2010-gettext-go

JSON →
library1.0.3gogounverified

Package gettext-go provides GNU gettext support for Go applications.

go get github.com/chai2010/gettext-go
INSTALL
IMPORT
SIG · CHAI2010-GETTEXT-G
C
chai2010-gettext-go
utilitygov1.0.3
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.

gettext
github.com/chai2010/gettext-go

Translate a string using gettext

package main import ( "fmt" "github.com/chai2010/gettext-go" ) func main() { gettext.BindTextdomain("app", "/path/to/locale") fmt.Println(gettext.Gettext("Hello")) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
chai2010-gettext-go — go get chai2010-gettext-go · libregistry