language

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Context string = "example"

Variables

This section is empty.

Functions

func GetLang

func GetLang() map[string]map[string]string

func LoadLang

func LoadLang(lang map[string]map[string]string, context string, idiom string)

func ReplaceI18nQueries added in v1.0.11

func ReplaceI18nQueries(i18nLang, query string) string

ReplaceI18nQueries funcao responsavel por substituir #i18n nas queries exemplo: SELECT fee_tag_adjetivo_m#i18n AS feeling_male FROM feelings_tags

func Translate

func Translate(line string, idiom string, replacements []string) string

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