Class LanguageCodePair (3.15.2)

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

Used with unidirectional glossaries.

Attributes

NameDescription
source_language_code str
Required. The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
target_language_code str
Required. The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.