go-aah / aah

A secure, flexible, rapid Go web framework
https://aahframework.org
MIT License
690 stars 33 forks source link

Bring i18n interface #239

Closed jeevatkm closed 5 years ago

jeevatkm commented 5 years ago

The goal is to bring i18n interface so that it can be extended.

type I18ner interface {
    Lookup(locale *ahttp.Locale, key string, args ...interface{}) string
    DefaultLocale() string
    Locales() []string
}
jeevatkm commented 5 years ago

Its done 😄