Documentation ¶
Index ¶
- func DictFileRegister(files ...string)
- func DictRegister(m map[string]map[string]string)
- func Fprintf(w io.Writer, key message.Reference, a ...interface{}) (n int, err error)
- func Init(configs ...I18nSection) error
- func Printf(format string, a ...interface{})
- func Sprint(a ...interface{}) string
- func Sprintf(format string, a ...interface{}) string
- type I18nSection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DictFileRegister ¶
func DictFileRegister(files ...string)
func DictRegister ¶
func Printf ¶
func Printf(format string, a ...interface{})
Printf is like fmt.Printf, but using language-specific formatting.
Types ¶
type I18nSection ¶
func (*I18nSection) Validate ¶
func (p *I18nSection) Validate() error
Click to show internal directories.
Click to hide internal directories.