gcloud alpha ml translate get-supported-languages Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha ml translate get-supported-languages - returns a list of supported languages for translation
- SYNOPSIS
gcloud alpha ml translate get-supported-languages[--display-language-code=DISPLAY_LANGUAGE_CODE][--model=MODEL][--zone=ZONE; default="global"][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)List supported languages for translation.- EXAMPLES
- The following command lists supported languages.
gcloudalphamltranslateget-supported-languages--zone=global - FLAGS
--display-language-code=DISPLAY_LANGUAGE_CODE- The language to use to return localized, human-readable name of supportedlanguages. If missing, then display names aren't returned in the response.
--model=MODEL- Get supported languages of specified model.
Authorization requires one or more of the following Google IAM permissions onthe specified resource model:
cloudtranslate.generalModels.get
automl.models.get
Defaults to 'general/base'.
Usage:
AutoMLmodels:'--model=TRL321456789'Generalmodels:'--model=general/nmt' --zone=ZONE; default="global"- Location to make calls. Non-global location is required for requests usingAutoML models. Currently, only 'us-central1' is supported as a non-globallocation. Defaults to 'global'.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$gcloud helpfor details. - API REFERENCE
- This command uses the
translate/v3beta1API. The full documentationfor this API can be found at:https://cloud.google.com/translate/docs/quickstarts - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudbetamltranslateget-supported-languages
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-22 UTC.