public static class TdApi.LanguagePackInfo extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
baseLanguagePackId
Identifier of a base language pack; may be empty.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
id
Unique language pack identifier.
|
boolean |
isBeta
True, if the language pack is a beta language pack.
|
boolean |
isInstalled
True, if the language pack is installed by the current user.
|
boolean |
isOfficial
True, if the language pack is official.
|
boolean |
isRtl
True, if the language pack strings are RTL.
|
int |
localStringCount
Total number of non-deleted strings from the language pack available locally.
|
java.lang.String |
name
Language name.
|
java.lang.String |
nativeName
Name of the language in that language.
|
java.lang.String |
pluralCode
A language code to be used to apply plural forms.
|
int |
totalStringCount
Total number of non-deleted strings from the language pack.
|
int |
translatedStringCount
Total number of translated strings from the language pack.
|
java.lang.String |
translationUrl
Link to language translation interface; empty for custom local language packs.
|
Constructor and Description |
---|
LanguagePackInfo()
Contains information about a language pack.
|
LanguagePackInfo(java.lang.String id,
java.lang.String baseLanguagePackId,
java.lang.String name,
java.lang.String nativeName,
java.lang.String pluralCode,
boolean isOfficial,
boolean isRtl,
boolean isBeta,
boolean isInstalled,
int totalStringCount,
int translatedStringCount,
int localStringCount,
java.lang.String translationUrl)
Contains information about a language pack.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String id
public java.lang.String baseLanguagePackId
public java.lang.String name
public java.lang.String nativeName
public java.lang.String pluralCode
public boolean isOfficial
public boolean isRtl
public boolean isBeta
public boolean isInstalled
public int totalStringCount
public int translatedStringCount
public int localStringCount
public java.lang.String translationUrl
public static final int CONSTRUCTOR
public LanguagePackInfo()
public LanguagePackInfo(java.lang.String id, java.lang.String baseLanguagePackId, java.lang.String name, java.lang.String nativeName, java.lang.String pluralCode, boolean isOfficial, boolean isRtl, boolean isBeta, boolean isInstalled, int totalStringCount, int translatedStringCount, int localStringCount, java.lang.String translationUrl)
id
- Unique language pack identifier.baseLanguagePackId
- 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
- Language name.nativeName
- Name of the language in that language.pluralCode
- 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.isOfficial
- True, if the language pack is official.isRtl
- True, if the language pack strings are RTL.isBeta
- True, if the language pack is a beta language pack.isInstalled
- True, if the language pack is installed by the current user.totalStringCount
- Total number of non-deleted strings from the language pack.translatedStringCount
- Total number of translated strings from the language pack.localStringCount
- Total number of non-deleted strings from the language pack available locally.translationUrl
- Link to language translation interface; empty for custom local language packs.public int getConstructor()
getConstructor
in class TdApi.Object