Documentation ¶
Index ¶
- func Fprintf(w io.Writer, key message.Reference, a ...interface{}) (n int, err error)
- func NewPrinter(lang ...string) *message.Printer
- func Printf(format string, a ...interface{})
- func SetDefaultPrinter(lang ...string)
- func SetLangStrings(dict map[string]map[string]string)
- func SetMatcher(langs ...language.Tag)
- func SetStrings(lang string, kv map[string]string)
- func Sprint(a ...interface{}) string
- func Sprintf(format string, a ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrinter ¶
lang: BCP 47 - Tags for Identifying Languages http://tools.ietf.org/html/bcp47
func Printf ¶
func Printf(format string, a ...interface{})
Printf is like fmt.Printf, but using language-specific formatting.
func SetDefaultPrinter ¶
func SetDefaultPrinter(lang ...string)
func SetLangStrings ¶
func SetMatcher ¶
func SetStrings ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.