i18n

package
v0.0.0-...-7247ed1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DictFileRegister

func DictFileRegister(filePath string)

func DictRegister

func DictRegister(m map[string]map[string]string)

func Init

func Init(dictPath ...string)

Init will init i18n support via input language.

func Sprintf

func Sprintf(lang, format string, a ...interface{}) string

Sprintf formats according to a format specifier and returns the resulting string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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