LangPackLanguage
- class pyrogram.raw.types.LangPackLanguage
Identifies a localization pack
Constructor of
LangPackLanguage
.- Details:
Layer:
194
ID:
EECA5CE3
- Parameters:
name (
str
) – Language namenative_name (
str
) – Language name in the language itselflang_code (
str
) – Language code (pack identifier)plural_code (
str
) – 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 infostrings_count (
int
32-bit
) – Total number of non-deleted strings from the language packtranslated_count (
int
32-bit
) – Total number of translated strings from the language packtranslations_url (
str
) – Link to language translation interface; empty for custom local language packsofficial (
bool
, optional) – Whether the language pack is officialrtl (
bool
, optional) – Is this a localization pack for an RTL languagebeta (
bool
, optional) – Is this a beta localization pack?base_lang_code (
str
, optional) – Identifier 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
- Functions:
This object can be returned by 2 functions.
Get information about all languages in a localization pack
Get information about a language in a localization pack