Versions in this module Expand all Collapse all v1 v1.1.0 Jul 1, 2015 Changes in this version type Bundle + func (b *Bundle) MustTfuncAndLanguage(pref string, prefs ...string) (TranslateFunc, *language.Language) + func (b *Bundle) TfuncAndLanguage(pref string, prefs ...string) (TranslateFunc, *language.Language, error) v1.0.0 Apr 30, 2015 Changes in this version + type Bundle struct + func New() *Bundle + func (b *Bundle) AddTranslation(lang *language.Language, translations ...translation.Translation) + func (b *Bundle) LoadTranslationFile(filename string) error + func (b *Bundle) MustLoadTranslationFile(filename string) + func (b *Bundle) MustTfunc(languageSource string, languageSources ...string) TranslateFunc + func (b *Bundle) ParseTranslationFileBytes(filename string, buf []byte) error + func (b *Bundle) Tfunc(src string, srcs ...string) (TranslateFunc, error) + func (b *Bundle) Translations() map[string]map[string]translation.Translation + type TranslateFunc func(translationID string, args ...interface{}) string