Contains information about a language pack.
|
| | languagePackInfo () |
| | languagePackInfo (string const &id_, string const &base_language_pack_id_, string const &name_, string const &native_name_, string const &plural_code_, bool is_official_, bool is_rtl_, bool is_beta_, bool is_installed_, int32 total_string_count_, int32 translated_string_count_, int32 local_string_count_, string const &translation_url_) |
| void | store (TlStorerToString &s, const char *field_name) const final |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| | TlObject ()=default |
| | TlObject (const TlObject &)=delete |
| | TlObject (TlObject &&)=default |
| virtual | ~TlObject ()=default |
|
|
string | base_language_pack_id_ |
| | 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.
|
|
string | id_ |
| | Unique language pack identifier.
|
|
bool | is_beta_ |
| | True, if the language pack is a beta language pack.
|
|
bool | is_installed_ |
| | True, if the language pack is installed by the current user.
|
|
bool | is_official_ |
| | True, if the language pack is official.
|
|
bool | is_rtl_ |
| | True, if the language pack strings are RTL.
|
|
int32 | local_string_count_ |
| | Total number of non-deleted strings from the language pack available locally.
|
|
string | name_ |
| | Language name.
|
|
string | native_name_ |
| | Name of the language in that language.
|
|
string | plural_code_ |
| | 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 information.
|
|
int32 | total_string_count_ |
| | Total number of non-deleted strings from the language pack.
|
|
int32 | translated_string_count_ |
| | Total number of translated strings from the language pack.
|
|
string | translation_url_ |
| | Link to language translation interface; empty for custom local language packs.
|