Versions in this module Expand all Collapse all v0 v0.8.2 May 1, 2017 Changes in this version type Translator + SessionName string v0.8.1 Apr 10, 2017 Changes in this version + type LanguageFinder func(*Translator, buffalo.Context) []string + type Translator struct + Box packr.Box + CookieName string + DefaultLanguage string + HelperName string + LanguageFinder LanguageFinder + func New(box packr.Box, language string) (*Translator, error) + func (t *Translator) AddTranslation(lang *language.Language, translations ...translation.Translation) + func (t *Translator) Load() error + func (t *Translator) Middleware() buffalo.MiddlewareFunc + func (t *Translator) Translate(c buffalo.Context, s string) (string, error)