pub struct LanguagePackInfo {Show 13 fields
pub id: String,
pub base_language_pack_id: String,
pub name: String,
pub native_name: String,
pub plural_code: String,
pub is_official: bool,
pub is_rtl: bool,
pub is_beta: bool,
pub is_installed: bool,
pub total_string_count: i32,
pub translated_string_count: i32,
pub local_string_count: i32,
pub translation_url: String,
}Expand description
Contains information about a language pack
Fields§
§id: StringUnique language pack identifier
base_language_pack_id: StringIdentifier 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: StringLanguage name
native_name: StringName of the language in that language
plural_code: StringA 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: boolTrue, if the language pack is official
is_rtl: boolTrue, if the language pack strings are RTL
is_beta: boolTrue, if the language pack is a beta language pack
is_installed: boolTrue, if the language pack is installed by the current user
total_string_count: i32Total number of non-deleted strings from the language pack
translated_string_count: i32Total number of translated strings from the language pack
local_string_count: i32Total number of non-deleted strings from the language pack available locally
translation_url: StringLink to language translation interface; empty for custom local language packs
Trait Implementations§
Source§impl Clone for LanguagePackInfo
impl Clone for LanguagePackInfo
Source§fn clone(&self) -> LanguagePackInfo
fn clone(&self) -> LanguagePackInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more