translate

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Internal map[string]*gotext.Po

Internal holds the internal locales for this library

Functions

func GetLanguage

func GetLanguage() (l string)

GetLanguage retrieves the name of the Locale in use

func Locale

func Locale() *gotext.Po

Locale gets a valid internal translation for this library, based on Language

func Printf

func Printf(str string, vars ...interface{})

Printf writes a formatted string in the right language

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL