Versions in this module Expand all Collapse all v1 v1.2.1 Jan 21, 2024 Changes in this version + func PT(req *http.Request, module ModuleKey, prefix string, key string, args ...string) (r string) + func T(req *http.Request, module ModuleKey, key string, args ...string) (r string) + type Builder struct + func New() *Builder + func (b *Builder) EnsureLanguage(in http.Handler) (out http.Handler) + func (b *Builder) GetCookieName() string + func (b *Builder) GetCurrentLangFromCookie(r *http.Request) (lang string) + func (b *Builder) GetQueryName() string + func (b *Builder) GetSupportLanguages() []language.Tag + func (b *Builder) GetSupportLanguagesFromRequest(R *http.Request) []language.Tag + func (b *Builder) GetSupportLanguagesFromRequestFunc(v func(R *http.Request) []language.Tag) (r *Builder) + func (b *Builder) RegisterForModule(lang language.Tag, module ModuleKey, msg Messages) (r *Builder) + func (b *Builder) SupportLanguages(vs ...language.Tag) (r *Builder) + type DynaBuilder struct + func DynaNew() (r *DynaBuilder) + func (d *DynaBuilder) HaveMissingKeys() bool + func (d *DynaBuilder) Language(lang string) (r *DynaBuilder) + func (d *DynaBuilder) PrettyMissingKeys() string + type Messages interface + func MustGetModuleMessages(r *http.Request, module ModuleKey, defaultMessages Messages) Messages + type ModuleKey string v1.2.0 Nov 9, 2022 Other modules containing this package github.com/qor5/x/v3