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,
ZAfor South Africa).Declaration
Swift
public var countryCode: String? -
Indicates whether words of the language are separated by whitespace:
trueif the words are separated;falseotherwise.Declaration
Swift
public var wordsSeparated: Bool? -
Indicates the direction of the language:
right_to_leftorleft_to_right.Declaration
Swift
public var direction: String? -
Indicates whether the language can be used as the source for translation:
trueif the language can be used as the source;falseotherwise.Declaration
Swift
public var supportedAsSource: Bool? -
Indicates whether the language can be used as the target for translation:
trueif the language can be used as the target;falseotherwise.Declaration
Swift
public var supportedAsTarget: Bool? -
Indicates whether the language supports automatic detection:
trueif the language can be detected automatically;falseotherwise.Declaration
Swift
public var identifiable: Bool?
View on GitHub
Language Structure Reference