Versions in this module Expand all Collapse all v0 v0.1.0 Jun 2, 2025 Changes in this version + func WithContext(ctx context.Context, i *I18n) context.Context + func WithFS(fs embed.FS) func(*Options) + func WithFile(f string) func(*Options) + func WithFormat(format string) func(*Options) + func WithLanguage(lang language.Tag) func(*Options) + type I18n struct + func FromContext(ctx context.Context) *I18n + func New(options ...func(*Options)) (rp *I18n) + func (i *I18n) Add(f string) + func (i *I18n) AddFS(fs embed.FS) + func (i I18n) E(id string) error + func (i I18n) Language() language.Tag + func (i I18n) LocalizeE(message *i18n.Message) error + func (i I18n) LocalizeT(message *i18n.Message) (rp string) + func (i I18n) Select(lang language.Tag) *I18n + func (i I18n) T(id string) (rp string) + type Options struct