i18n

package
v6.46.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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