Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Localizer ¶
type Localizer struct {
// contains filtered or unexported fields
}
Localizer is a wrapper around i18n.Localizer with a better API.
func NewLocalizer ¶
NewLocalizer creates a new Localizer from map with a key as filename and value as its content in toml format. Filename should satisfy the pattern <domain/description>.<language>.toml.
Click to show internal directories.
Click to hide internal directories.