Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LocalLangs // // 本地已经添加了的语言列表。 // // List of languages that have been added locally. LocalLangs = make(map[int]TLangItem, 0) // AppNodeName // // 默认应用的节点名称 // // Node name applied by default. AppNodeName string // CurrentLang // // 当前语言 // // Current language CurrentLang string )
Functions ¶
func IdRes ¶
IdRes
通过key查询当前资源中的,顺序为当前app资源 -> 共享资源 -> lib资源 Query the current resources by key, the order is current app resources -> shared resources -> lib resources.
func InitComponentLang ¶
func InitComponentLang(aOwner lcl.IComponent)
InitComponentLang
初始一个Form的语言 The language of the initial Form.
func ReadSetLang ¶
func ReadSetLang() string
ReadSetLang
读当前强制显示语言 Read the current mandatory display language.
func RegisterVarString ¶
RegisterVarString
注册需要翻译的字符 Register characters that need to be translated.
Types ¶
Click to show internal directories.
Click to hide internal directories.