Skip to content

getLanguagePackString

Function · TDLib 1.8.67 · d1085f9c

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

getLanguagePackString(
  language_pack_database_path: string,
  localization_target: string,
  language_pack_id: string,
  key: string
) → LanguagePackStringValue

language_pack_database_path

string

Path to the language pack database in which strings are stored

localization_target

string

Localization target to which the language pack belongs

language_pack_id

string

Language pack identifier

key

string

Language pack key of the string to be returned