Inherits Object.
Contains information about a language pack.
Public Fields | |
| string | id_ |
| Unique language pack identifier. | |
| 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 | 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. | |
| bool | is_official_ |
| True, if the language pack is official. | |
| bool | is_rtl_ |
| True, if the language pack strings are RTL. | |
| 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. | |
| 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. | |
| int32 | local_string_count_ |
| Total number of non-deleted strings from the language pack available locally. | |
| string | translation_url_ |
| Link to language translation interface; empty for custom local language packs. | |
Public Instance Methods | |
| 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 |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 542199642 |
| Identifier uniquely determining a type of the object. | |
| languagePackInfo | ( | ) |
Contains information about a language pack.
| 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_ | ||
| ) |
Contains information about a language pack.
| [in] | id_ | Unique language pack identifier. |
| [in] | 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. |
| [in] | name_ | Language name. |
| [in] | native_name_ | Name of the language in that language. |
| [in] | 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. |
| [in] | is_official_ | True, if the language pack is official. |
| [in] | is_rtl_ | True, if the language pack strings are RTL. |
| [in] | is_beta_ | True, if the language pack is a beta language pack. |
| [in] | is_installed_ | True, if the language pack is installed by the current user. |
| [in] | total_string_count_ | Total number of non-deleted strings from the language pack. |
| [in] | translated_string_count_ | Total number of translated strings from the language pack. |
| [in] | local_string_count_ | Total number of non-deleted strings from the language pack available locally. |
| [in] | translation_url_ | Link to language translation interface; empty for custom local language packs. |
|
finalvirtual |