The Google Cloud Natural Language API supports a variety of languages.
These languages are specified within a request using the optional language
parameter. Language code parameters conform to
ISO-639-1 or
BCP-47 identifiers.
If you do not specify a language parameter, then the language for
the request is auto-detected by the Natural Language API.
A complete list of supported language pairs are shown below. As new language pairs are added to the Natural Language API, this list will be updated.
The analyzeEntitySentiment, currently in Beta, only supports the English language.
| Language | ISO-639-1 Code | |
|---|---|---|
| Chinese (Simplified) (beta) | zh |
|
| Chinese (Traditional) (beta) | zh-Hant |
|
| English | en |
|
| French (beta) | fr |
|
| German (beta) | de |
|
| Italian (beta) | it |
|
| Japanese | ja |
|
| Korean (beta) | ko |
|
| Portuguese (beta) | pt |
|
| Spanish | es |