nodejs-translate
nodejs-translate copied to clipboard
Javanese language code returning "jw" instead of "jv"
Environment details
- OS: MacOS
- Node.js version: 16.5
- npm version: 8.11.0
-
@google-cloud/translateversion: 6.3.1
Steps to reproduce
Based on documentation at https://cloud.google.com/translate/docs/advanced/discovering-supported-languages-v3
- Import TranslationServiceClient from "@google-cloud/translate"
- Call the function "getSupportedLanguages" on the TranslationServiceClient
- Observe that the result for Javanese returns a language code of "jw", instead of "jv" as documented at https://cloud.google.com/translate/docs/languages