Class LanguageCodePair (3.7.4)

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

Used with unidirectional glossaries.

Attributes

NameDescription
source_language_code str
Required. The BCP-47 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 BCP-47 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.