package
0.1.0
Repository: https://github.com/chai2010/gettext-go.git
Documentation: pkg.go.dev

# Packages

Package mo provides support for reading and writing GNU MO file.
Package plural provides standard plural formulas.
Package po provides support for reading and writing GNU PO file.

# Functions

BindTextdomain sets and queries program's domains.
DGetdata like Getdata(), but looking up the resource in the specified domain.
DGettext like Gettext(), but looking up the message in the specified domain.
DNGettext like NGettext(), but looking up the message in the specified domain.
DPGettext like PGettext(), but looking up the message in the specified domain.
DPNGettext like PNGettext(), but looking up the message in the specified domain.
Getdata attempt to translate a resource file into the user's native language, by looking up the translation in a message catalog.
Gettext attempt to translate a text string into the user's native language, by looking up the translation in a message catalog.
NGettext attempt to translate a text string into the user's native language, by looking up the appropriate plural form of the translation in a message catalog.
PGettext attempt to translate a text string into the user's native language, by looking up the translation in a message catalog.
PNGettext attempt to translate a text string into the user's native language, by looking up the appropriate plural form of the translation in a message catalog.
SetLocale sets and queries the program's current locale.
Textdomain sets and retrieves the current message domain.

# Variables

use $(LC_MESSAGES) or $(LANG) or "default".