languageutil

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Arabic     = "ar"
	Bangla     = "bn"
	Chinese    = "zh"
	Czech      = "cs"
	Danish     = "da"
	Dutch      = "nl"
	English    = "en"
	German     = "de"
	Greek      = "el"
	Spanish    = "es"
	Finnish    = "fi"
	French     = "fr"
	Hebrew     = "he"
	Hindi      = "hi"
	Hungarian  = "hu"
	Indonesian = "id"
	Italian    = "it"
	Japanese   = "jp"
	Korean     = "ko"
	Norwegian  = "no"
	Polish     = "pl"
	Portugese  = "pt"
	Romanian   = "ro"
	Russian    = "ru"
	Slovak     = "sk"
	Swedish    = "sv"
	Tamil      = "ta"
	Thai       = "th"
	Turkish    = "tr"
)

ISO 639-1 language codes

Variables

This section is empty.

Functions

func JoinLanguage

func JoinLanguage(slice []string, sep string, joinLang language.Tag) (string, error)

Types

This section is empty.

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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