Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LocaleFS embed.FS
Functions ¶
This section is empty.
Types ¶
type Translator ¶
type Translator struct {
// contains filtered or unexported fields
}
func (*Translator) MatchLocalizer ¶
func (l *Translator) MatchLocalizer(lang string) *i18n.Localizer
func (*Translator) NewBundle ¶
func (l *Translator) NewBundle(file embed.FS)
func (*Translator) NewTranslator ¶
func (l *Translator) NewTranslator()
func (*Translator) TransError ¶
func (l *Translator) TransError(lang string, err error) error
Click to show internal directories.
Click to hide internal directories.