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: 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: i32
Total number of non-deleted strings from the language pack
translated_string_count: i32
Total number of translated strings from the language pack
local_string_count: i32
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
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