LanguageCodePairResponse

data class LanguageCodePairResponse(val sourceLanguageCode: String, val targetLanguageCode: String)

Used with unidirectional glossaries.

Constructors

Link copied to clipboard
fun LanguageCodePairResponse(sourceLanguageCode: String, targetLanguageCode: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The BCP-47 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.

Link copied to clipboard

The BCP-47 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.