Function get_language_pack_string

Source
pub async fn get_language_pack_string(
    language_pack_database_path: String,
    localization_target: String,
    language_pack_id: String,
    key: String,
    client_id: i32,
) -> Result<LanguagePackStringValue, Error>
Expand description

Returns a string stored in the local database from the specified localization target and language pack by its key. Returns a 404 error if the string is not found. Can be called synchronously

ยงArguments

  • language_pack_database_path - Path to the language pack database in which strings are stored
  • localization_target - Localization target to which the language pack belongs
  • language_pack_id - Language pack identifier
  • key - Language pack key of the string to be returned
  • client_id - The client id to send the request to