SetCustomLanguagePack

public struct SetCustomLanguagePack : Codable, Equatable, TDFunction

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

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Information about the language pack. Language pack ID must start with ‘X’, consist only of English letters, digits and hyphens, and must not exceed 64 characters. Can be called before authorization

    Declaration

    Swift

    public let info: LanguagePackInfo
  • Strings of the new language pack

    Declaration

    Swift

    public let strings: [LanguagePackString]
  • Adds or changes a custom local language pack to the current localization target

    Declaration

    Swift

    public init(info: LanguagePackInfo, strings: [LanguagePackString])

    Parameters

    info

    Information about the language pack. Language pack ID 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