sourceLanguageCode property

String? sourceLanguageCode
getter/setter pair

The ISO-639 language code of the input text if known, for example, "en-US" or "sr-Latn".

Supported language codes are listed in Language Support. If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response.

Optional.

Implementation

core.String? sourceLanguageCode;