Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EmptyArgs []interface{} SEPARATOR = ":" )
Functions ¶
This section is empty.
Types ¶
type I18nMessageTool ¶
type I18nMessageTool struct {
// contains filtered or unexported fields
}
func NewI18nMessageTool ¶
func NewI18nMessageTool(filePathList []string) *I18nMessageTool
func (*I18nMessageTool) Translate ¶
func (tool *I18nMessageTool) Translate(message string, args []interface{}, lang string) string
func (*I18nMessageTool) TranslateSimple ¶
func (tool *I18nMessageTool) TranslateSimple(message string, language string) string
Click to show internal directories.
Click to hide internal directories.