Language

public struct Language : Codable, Equatable

Response payload for languages.

  • The language code for the language (for example, af).

    Declaration

    Swift

    public var language: String?
  • The name of the language in English (for example, Afrikaans).

    Declaration

    Swift

    public var languageName: String?
  • The native name of the language (for example, Afrikaans).

    Declaration

    Swift

    public var nativeLanguageName: String?
  • The country code for the language (for example, ZA for South Africa).

    Declaration

    Swift

    public var countryCode: String?
  • Indicates whether words of the language are separated by whitespace: true if the words are separated; false otherwise.

    Declaration

    Swift

    public var wordsSeparated: Bool?
  • Indicates the direction of the language: right_to_left or left_to_right.

    Declaration

    Swift

    public var direction: String?
  • Indicates whether the language can be used as the source for translation: true if the language can be used as the source; false otherwise.

    Declaration

    Swift

    public var supportedAsSource: Bool?
  • Indicates whether the language can be used as the target for translation: true if the language can be used as the target; false otherwise.

    Declaration

    Swift

    public var supportedAsTarget: Bool?
  • Indicates whether the language supports automatic detection: true if the language can be detected automatically; false otherwise.

    Declaration

    Swift

    public var identifiable: Bool?