i18n

package
v6.36.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2018 License: Apache-2.0 Imports: 4 Imported by: 1,119

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Init

func Init(config LocaleReader) ui.TranslateFunc

func IsSupportedLocale

func IsSupportedLocale(locale string) bool

func SupportedLocales

func SupportedLocales() []string

Types

type LocaleReader

type LocaleReader interface {
	Locale() string
}

Jump to

Keyboard shortcuts

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