33 Google Translation API Python Samples
44===============================================================================
55
6+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
7+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/README.rst
8+
9+
610This directory contains samples for Google Translation API. With `Google Translation API `, you can dynamically translate text between thousands of language pairs.
711
812
@@ -54,6 +58,10 @@ Samples
5458Quickstart
5559+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5660
61+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
62+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/quickstart.py;translate/cloud-client/README.rst
63+
64+
5765
5866
5967To run this sample:
@@ -66,6 +74,10 @@ To run this sample:
6674 Snippets
6775+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6876
77+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
78+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=translate/cloud-client/snippets.py;translate/cloud-client/README.rst
79+
80+
6981
7082
7183To run this sample:
@@ -77,13 +89,13 @@ To run this sample:
7789 usage: snippets.py [-h]
7890 {detect-language,list-languages,list-languages-with-target,translate-text}
7991 ...
80-
92+
8193 This application demonstrates how to perform basic operations with the
8294 Google Cloud Translate API
83-
95+
8496 For more information, the documentation at
8597 https://cloud.google.com/translate/docs.
86-
98+
8799 positional arguments:
88100 {detect-language,list-languages,list-languages-with-target,translate-text}
89101 detect-language Detects the text' s language.
@@ -97,13 +109,14 @@ To run this sample:
97109 be an ISO 639-1 language code. See
98110 https://g.co/cloud/translate/v2/translate-
99111 reference#supported_languages
100-
112+
101113 optional arguments:
102114 -h, --help show this help message and exit
103115
104116
105117
106118
119+
107120The client library
108121-------------------------------------------------------------------------------
109122
0 commit comments