i18n

package
v1.10.23-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetErrMsg

func GetErrMsg(key string, maps map[string]interface{}) string

func GetMsgByKey added in v1.3.0

func GetMsgByKey(key string) string

func GetMsgByKeyForCmd

func GetMsgByKeyForCmd(key string) string

func GetMsgWithMap

func GetMsgWithMap(key string, maps map[string]interface{}) string

func GetMsgWithMapForCmd

func GetMsgWithMapForCmd(key string, maps map[string]interface{}) string

func GetMsgWithName

func GetMsgWithName(key string, name string, err error) string

func Init

func Init()

func UseI18n

func UseI18n() gin.HandlerFunc

func UseI18nForCmd

func UseI18nForCmd(lang string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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