package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev
# Functions
Language returns a Formatter that renders the name for lang in the the current language.
Languages returns a Namer for naming languages.
Region returns a Formatter that renders the name for region in the current language.
Regions returns a Namer for naming regions.
Script returns a Formatter that renders the name for script in the current language.
Scripts returns a Namer for naming scripts.
Script returns a Formatter that renders the name for tag in the current language.
Tags returns a Namer for giving a full description of a tag.
# Constants
CLDRVersion is the CLDR version from which the tables in this package are derived.
Version is deprecated.
# Variables
af.
sq.
en-US.
am.
ar.
hy.
az.
bn.
pt-BR.
en-GB.
bg.
my.
ca.
zh.
hr.
cs.
da.
nl.
en.
et.
pt-PT.
es-ES.
fil.
fi.
fr.
ka.
de.
el.
gu.
he.
hi.
hu.
is.
id.
it.
ja.
kn.
kk.
km.
ky.
ko.
lo.
es-419.
lv.
lt.
mk.
ms.
ml.
mr.
ar-001.
mn.
ne.
no.
fa.
pl.
pt.
pa.
ro.
ru.
Self is a shared instance of a SelfNamer.
sr.
sr.
zh-Hans.
si.
sk.
sl.
es.
Supported lists the languages for which names are defined.
sw.
sv.
ta.
te.
th.
zh-Hant.
tr.
uk.
ur.
uz.
The set of all possible values for which names are defined.
vi.
zu.
# Structs
A Dictionary holds a collection of Namers for a single language.
A Formatter formats a tag in the current language.
A SelfNamer implements a Namer that returns the name of language in this same language.
# Interfaces
A Namer is used to get the name for a given value, such as a Tag, Language, Script or Region.