i18n

package
v7.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 1,648

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