langPackLanguage
Signature
Section titled “Signature”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;Result type
Section titled “Result type”LangPackLanguage
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| official | flags.0?true | flags.0 | — | |
| rtl | flags.2?true | flags.2 | — | |
| beta | flags.3?true | flags.3 | — | |
| name | string | — | — | |
| native_name | string | — | — | |
| lang_code | string | — | — | |
| base_lang_code | flags.1?string | flags.1 | — | |
| plural_code | string | — | — | |
| strings_count | int | — | — | |
| translated_count | int | — | — | |
| translations_url | string | — | — |
| Parameter | Bit | Meaning |
|---|---|---|
| official | 0 | Controlled by flags; present when this bit is set. |
| rtl | 2 | Controlled by flags; present when this bit is set. |
| beta | 3 | Controlled by flags; present when this bit is set. |
| base_lang_code | 1 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import LangPackLanguagePublic access: miniproto.raw.types.LangPackLanguage.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
LangPackLanguage - Returned by:
langpack.getLanguage,langpack.getLanguages