i18n

package
v1.3.0-rc.0...-0a48220 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLocale = "en,zh-CN;q=0.9,zh;q=0.8,en-US;q=0.7,en-GB;q=0.6"
)

Functions

func SetSingle

func SetSingle(trans i18n.Translator)

func Sprintf

func Sprintf(locale, key string, args ...interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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