Documentation ¶
Overview ¶
Package i18n includes internationalization related manipulations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalesNames ¶
func GetLocalesNames() []string
GetLocalesNames gets names of all locales. Returns ["zh_CN", "en_US"] for example.
func GetMessage ¶
GetMessage gets a message with the specified locale and key.
func GetMessagef ¶
GetMessagef gets a message with the specified locale, key and arguments
func GetMessages ¶
GetMessages gets all messages with the specified locale.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.