Skip to content

setCustomLanguagePack

Function · TDLib 1.8.67 · d1085f9c

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

setCustomLanguagePack(
  info: LanguagePackInfo,
  strings: list of LanguagePackString
) → Ok

info

LanguagePackInfo

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

list of LanguagePackString

Strings of the new language pack