Class SupportedLanguage (3.18.0)

SupportedLanguage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single supported language response corresponds to information related to one supported language.

Attributes

Name Description
language_code str
Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, ISO-639 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').
display_name str
Human-readable name of the language localized in the display language specified in the request.
support_source bool
Can be used as a source language.
support_target bool
Can be used as a target language.