Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translations ¶
type Translations struct {
// contains filtered or unexported fields
}
func NewTranslations ¶
func NewTranslations(defaultLang string, localesPath string) (*Translations, error)
func (*Translations) GetMessage ¶
func (t *Translations) GetMessage(messageID string, count int, templateData map[string]interface{}) string
func (*Translations) SetLanguage ¶
func (t *Translations) SetLanguage(lang string) error
Click to show internal directories.
Click to hide internal directories.