Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Initialize : initalizes the translation engine.
func Translate ¶
func Translate(locale string) bundle.TranslateFunc
Translate : returns the right translate function.
Types ¶
type Engine ¶
type Engine struct { TranslateFuncs map[string]bundle.TranslateFunc Translations map[string]map[string]translation.Translation }
Engine :
var Main *Engine
Main : main localization engine of the application.
func (*Engine) Initialize ¶
Initialize : initalizes the translation engine.
Click to show internal directories.
Click to hide internal directories.