Documentation ¶
Index ¶
- func GetTranslator(acceptLang string) ut.Translator
- func RegisterValidatorTranslation(acceptLang Language, tag, text string, override bool) (string, ut.Translator, validator.RegisterTranslationsFunc, ...)
- func SetValidateTranslators(validate *validator.Validate)
- type Language
- type Translate
- type Translator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTranslator ¶
func GetTranslator(acceptLang string) ut.Translator
func RegisterValidatorTranslation ¶ added in v2.0.4
func SetValidateTranslators ¶
func SetValidateTranslators(validate *validator.Validate)
Types ¶
type Translator ¶ added in v2.2.0
Click to show internal directories.
Click to hide internal directories.