Function set_custom_language_pack

Source
pub async fn set_custom_language_pack(
    info: LanguagePackInfo,
    strings: Vec<LanguagePackString>,
    client_id: i32,
) -> Result<(), Error>
Expand description

Adds or changes a custom local language pack to the current localization target

§Arguments

  • info - Information about the language pack. Language pack identifier must start with ‘X’, consist only of English letters, digits and hyphens, and must not exceed 64 characters. Can be called before authorization
  • strings - Strings of the new language pack
  • client_id - The client id to send the request to