i18n

package
v0.0.5-complete-api Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 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