Versions in this module Expand all Collapse all v0 v0.1.1 Feb 17, 2021 Changes in this version + var CN = language.Chinese.String() + var EN = language.English.String() + var JP = language.Japanese.String() + var Lang = LangMap + var Langs = [...]string + var TC = language.TraditionalChinese.String() + func Add(key string, lang map[string]string) + func AppendTo(lang string, set map[string]string) + func FixedLanguageKey(key string) string + func Get(value string) string + func GetFromHtml(value template.HTML, scopes ...string) template.HTML + func GetWithLang(value, lang string) string + func GetWithScope(value string, scopes ...string) string + func GetWithScopeAndLanguageSet(value, lang string, scopes ...string) string + func JoinScopes(scopes []string) string + func WithScopes(value string, scopes ...string) string + type LangMap map[string]LangSet + func (lang LangMap) Get(value string) string + func (lang LangMap) GetWithScope(value string, scopes ...string) string + type LangSet map[string]string + func (l LangSet) Add(key, value string) + func (l LangSet) Combine(set LangSet) LangSet