i18n

package
v0.10.1-beta Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package i18n defines model internationalization support.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Support

type Support struct {
	Matcher language.Matcher
	Locale  language.Coverage
}

Support defines the internationalization coverage.

func New

func New(cfg *config.I18nConfig) (*Support, error)

New creates new I18n Support.

func (*Support) PrettyLanguages

func (s *Support) PrettyLanguages() []string

PrettyLanguages return prettified supported languages strings.

Jump to

Keyboard shortcuts

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