langs

package
v1.49.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: MIT Imports: 0 Imported by: 0

README

langs

GoDoc

Package langs contains the full list of abreviations of locales available to the system.

Install
import (
	"libs.altipla.consulting/langs"
)
Contributing

You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt.

Running tests

Run the tests:

make test
License

MIT License

Documentation

Overview

Package langs contains the full list of abreviations of locales available to the system.

Index

Constants

View Source
const (
	CA = "ca"
	DE = "de"
	EN = "en"
	ES = "es"
	EU = "eu"
	FR = "fr"
	IT = "it"
	JA = "ja"
	PT = "pt"
	RU = "ru"
)

Variables

View Source
var All = []string{
	CA,
	DE,
	EN,
	ES,
	EU,
	FR,
	IT,
	JA,
	PT,
	RU,
}

Functions

func IsValid

func IsValid(lang string) bool

func NativeName

func NativeName(lang string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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