Skip to content

LanguagePackInfo

Type · TDLib 1.8.67 · d1085f9c

Contains information about a language pack

LanguagePackInfo(
  id: string,
  base_language_pack_id: string,
  name: string,
  native_name: string,
  plural_code: string,
  is_official: Bool,
  is_rtl: Bool,
  is_beta: Bool,
  is_installed: Bool,
  total_string_count: int32,
  translated_string_count: int32,
  local_string_count: int32,
  translation_url: string
) → LanguagePackInfo

id

string

Unique language pack identifier

base_language_pack_id

string

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

name

string

Language name

native_name

string

Name of the language in that language

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 information

is_official

Bool

True, if the language pack is official

is_rtl

Bool

True, if the language pack strings are RTL

is_beta

Bool

True, if the language pack is a beta language pack

is_installed

Bool

True, if the language pack is installed by the current user

total_string_count

int32

Total number of non-deleted strings from the language pack

translated_string_count

int32

Total number of translated strings from the language pack

local_string_count

int32

Total number of non-deleted strings from the language pack available locally

translation_url

string

Link to language translation interface; empty for custom local language packs