Skip to main content

langPackLanguage

Identifies a localization pack

type tg.LangPackLanguage struct { /* ... */ }

Fields

NameTypeRequiredDescription
OfficialboolWhether the language pack is official
RtlboolIs this a localization pack for an RTL language
BetaboolIs this a beta localization pack?
NamestringyesLanguage name
NativeNamestringyesLanguage name in the language itself
LangCodestringyesLanguage code (pack identifier)
BaseLangCodestringIdentifier of a base language pack; may be empty. If a string is missed in the language pack, then it should be fetched from base language pack. Unsupported in custom language packs
PluralCodestringyesA language code to be used to apply plural forms. See https://www.unicode org/cldr/charts/latest/supplemental/language_plural_rules.html for more info
StringsCountintyesTotal number of non-deleted strings from the language pack
TranslatedCountintyesTotal number of translated strings from the language pack
TranslationsURLstringyesLink to language translation interface; empty for custom local language packs

Returned by

References