i18n.go
func (d *localeStore) Get(lang, section, format string) (string, bool) {
	if locale, ok := d.store[lang]; ok {
		if section == "" {
			section = goconfig.DEFAULT_SECTION
		}

		if value, err := locale.message.GetValue(section, format); err == nil {
			return value, true
		}
	}

	return "", false
}
func (d *localeStore) Get(lang, section, format string) (string, bool) {
	if locale, ok := d.store[lang]; ok {
		if section == "" {
			section = goconfig.DEFAULT_SECTION
		}

		if value, err := locale.message.GetValue(section, format); err == nil {
			return value, true
		}
	}

	return "", false
}
func ( d * localeStore ) Get ( lang , section , format string ) ( string , bool ) { if locale , ok := d . store [ lang ] ; ok { if section == " " { section = goconfig . DEFAULT_SECTION } if value , err := locale . message . GetValue ( section , format ) ; err == nil { return value , true } } return " " , false }
// Get target language string
Get target language string