locales

package
v0.0.0-...-cd5470e Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLocale = "en"

DefaultLocale used for mark default locale

Variables

View Source
var TranslationKeys = struct {
	Required string
}{
	Required: "errors.required",
}

TranslationKeys is dictionary of error translation keys

Functions

func BuildLocales

func BuildLocales() (models.Locales, error)

BuildLocales read locales and build Translations

Types

This section is empty.

Jump to

Keyboard shortcuts

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