Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LangList is the list of available languages. It stores two-bytes codes LangList []string )
Functions ¶
func LangMacro ¶
LangMacro replaces all inclusions of $resname$ in the incoming text with the corresponding language resources, if they exist
func LangText ¶
LangText looks for the specified word through language sources and returns the meaning of the source if it is found. Search goes according to the languages specified in 'accept'
func UpdateLang ¶
UpdateLang updates language sources for the specified state
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.