nodejs-translate icon indicating copy to clipboard operation
nodejs-translate copied to clipboard

Javanese language code returning "jw" instead of "jv"

Open CambodianCoder opened this issue 3 years ago • 0 comments

Environment details

  • OS: MacOS
  • Node.js version: 16.5
  • npm version: 8.11.0
  • @google-cloud/translate version: 6.3.1

Steps to reproduce

Based on documentation at https://cloud.google.com/translate/docs/advanced/discovering-supported-languages-v3

  1. Import TranslationServiceClient from "@google-cloud/translate"
  2. Call the function "getSupportedLanguages" on the TranslationServiceClient
  3. 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
image image

CambodianCoder avatar Jul 22 '22 17:07 CambodianCoder