Raw.LangPackLanguage
Identifies a localization pack
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;
export namespace Raw {
export class LangPackLanguage {
constructor(params: {
official?: boolean;
rtl?: boolean;
beta?: boolean;
name: string;
nativeName: string;
langCode: string;
baseLangCode?: string;
pluralCode: string;
stringsCount: number;
translatedCount: number;
translationsUrl: string;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xeeca5ce3
Property
official
: boolean or undefinedWhether the language pack is official
rtl
: boolean or undefinedIs this a localization pack for an rtl language
beta
: boolean or undefinedIs this a beta localization pack?
name
: stringLanguage name
nativeName
: stringLanguage name in the language itself
langCode
: stringLanguage code (pack identifier)
baseLangCode
: string or undefinedIdentifier of a base language pack; may be empty. if a string is missed in the language pack, then it should be fetched from base language pack. unsupported in custom language packs
pluralCode
: stringA language code to be used to apply plural forms. see https://www.unicode.org/cldr/charts/latest/supplemental/languagePluralRules.html for more info
stringsCount
: numberTotal number of non-deleted strings from the language pack
translatedCount
: numberTotal number of translated strings from the language pack
translationsUrl
: stringLink to language translation interface; empty for custom local language packs