Airgram

Guides
/
/
Output types

LanguagePackInfo

Contains information about a language pack.

This is an alias for the LanguagePackInfoUnion type.


NameTypeDescription
_"languagePackInfo"
idstring Unique language pack identifier
baseLanguagePackIdstring Identifier of a base language pack; may be empty. If a string is missed in the language pack, then it must be fetched from base language pack. Unsupported in custom language packs
namestring Language name
nativeNamestring Name of the language in that language
pluralCodestring A 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
isOfficialboolean True, if the language pack is official
isRtlboolean True, if the language pack strings are RTL
isBetaboolean True, if the language pack is a beta language pack
isInstalledboolean True, if the language pack is installed by the current user
totalStringCountnumber Total number of non-deleted strings from the language pack
translatedStringCountnumber Total number of translated strings from the language pack
localStringCountnumber Total number of non-deleted strings from the language pack available locally
translationUrlstring Link to language translation interface; empty for custom local language packs