telegram api constructor · layer 229 · #eeca5ce3
langPackLanguage
Identifies a localization pack
definition
langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
official | true | Whether the language pack is official |
rtl | true | Is this a localization pack for an RTL language |
beta | true | Is this a beta localization pack? |
name | string | Language name |
native_name | string | Language name in the language itself |
lang_code | string | Language code (pack identifier) |
base_lang_code | string | 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 |
plural_code | string | 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 |
strings_count | int | Total number of non-deleted strings from the language pack |
translated_count | int | Total number of translated strings from the language pack |
translations_url | string | Link to language translation interface; empty for custom local language packs |
type
history
present in layers 67–229 · constructor id changed 2×
| id | layers |
|---|---|
| #117698f1 | 67–86 |
| #0651b98d | 87–88 |
| #eeca5ce3 | 89–229 |