Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type LanguageCode ¶
type LanguageCode string
const ( ZH LanguageCode = "zh" EN LanguageCode = "en" JA LanguageCode = "ja" ZHHant LanguageCode = "zh_Hant" PtBr LanguageCode = "pt_BR" Ko LanguageCode = "ko" Ru LanguageCode = "ru" Es LanguageCode = "es" )
func NewLang ¶
func NewLang(code string) LanguageCode
func (LanguageCode) String ¶
func (l LanguageCode) String() string
func (LanguageCode) T ¶
func (l LanguageCode) T(s string) string
Click to show internal directories.
Click to hide internal directories.