Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_LOCALE = "en_US" DEFAULT_LANGUAGE = "en" )
Variables ¶
View Source
var Resources_path = filepath.Join("cf", "i18n", "resources")
View Source
var SUPPORTED_LOCALES = map[string]string{
"de": "de_DE",
"en": "en_US",
"es": "es_ES",
"fr": "fr_FR",
"it": "it_IT",
"ja": "ja_JA",
"pt": "pt_BR",
"zh": "zh_CN",
}
View Source
var T = Init()
Functions ¶
func GetResourcesPath ¶
func GetResourcesPath() string
func Init ¶
func Init() go_i18n.TranslateFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.