languageutil

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 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"
	Portuguese = "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