Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Localizer ¶
type Localizer struct {
// contains filtered or unexported fields
}
var Default *Localizer
func NewLocalizer ¶
NewLocalizer creates a new Localizer that looks up messages in the bundle according to the language preferences.
func (Localizer) RenderEcode ¶ added in v0.15.0
func (l Localizer) RenderEcode(ecode string, data any) *i18n.EcodeDetail
Click to show internal directories.
Click to hide internal directories.