i18n

package
v0.0.10-complete-api Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 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