i18n

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 7 Imported by: 0

README

go run cmd/gen.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadI18nMessageFile

func LoadI18nMessageFile(path string)

LoadI18nMessageFile 加载i18n配置文件

func Translate

func Translate(code uint32, langs ...string) (string, error)

Translate 国际化code所对应的msg信息

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