get_language_pack_string_sync


Description:

public LanguagePackStringValue get_language_pack_string_sync (string language_pack_database_path, string localization_target, string language_pack_id, string key) throws TDLibError

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

Parameters:

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