Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Translations is a translation map from strings that can be output to console // to its translation in the user's system locale. Translations map[string]interface{} )
Functions ¶
func DetermineLocale ¶
func DetermineLocale()
DetermineLocale finds the system locale and sets the preferred language for output appropriately.
func GetPreferredLanguage ¶
GetPreferredLanguage returns the preferred language tag.
func SetPreferredLanguage ¶
SetPreferredLanguage configures which language future messages should use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.