Documentation ¶
Overview ¶
Package wraps all translators in github.com/go-playground/locales. The translators are not created until asked for in Get.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrency ¶ added in v0.2.0
GetCurrency gets the currency for the given ISO 4217 code, or -1 if not found.
func GetTranslator ¶ added in v0.2.0
func GetTranslator(locale string) locales.Translator
GetTranslator gets the Translator for the given locale, nil if not found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.