Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTranslations ¶
func InitTranslations() error
InitTranslations loads files with translation according to array in config file. Needs to run in the server main.go. err!=nil means that one of them can't be opened
func LocalizeMessage ¶
LocalizeMessage translates messages. acceptLanguage - Accept-Languages from request header (r.Header.Get("Accept-Language"))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.