locale

package
v0.0.0-...-ff502ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Localizer *i18n.Localizer

Localizer can be used to fetch localized messages

Functions

func T

func T(key string) string

T fetches the translation of the specified key

func Tf

func Tf(key string, args ...any) string

Tf fetches the translation of the specified key and formats it like Sprintf

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL