Documentation ¶
Index ¶
- func Bindtextdomain(domain, dirname string) string
- func DGettext(domain, id string) string
- func DNGettext(domain, msgid, plural string, n int) string
- func InitI18n()
- func NTr(msgid, plural string, n int) string
- func QueryLang() string
- func QueryLangs() []string
- func Textdomain(domain string)
- func Tr(id string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bindtextdomain ¶
func QueryLang ¶
func QueryLang() string
QueryLang return user lang. the rule is document at man gettext(3)
func QueryLangs ¶
func QueryLangs() []string
QueryLangs return array of user lang, split by ":". the rule is document at man gettext(3)
func Textdomain ¶
func Textdomain(domain string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.