Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupportedLocale ¶
Types ¶
type LangCodeInfo ¶
func GetLangCodeInfo ¶
func GetLangCodeInfo(locale string) (*LangCodeInfo, error)
type LangInfo ¶
type LangInfo struct { Locale string `json:"Locale"` Description string `json:"Description"` LangCode string `json:"LangCode"` CountryCode string `json:"CountryCode"` }
func (*LangInfo) ToLangCode ¶
func (info *LangInfo) ToLangCode() *LangCodeInfo
Click to show internal directories.
Click to hide internal directories.