Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix translate links. #3199

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/translate-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ or to use a non-default target language:
},
]

.. _Google Cloud Translation: https://cloud.google.com/translation
.. _Pricing: https://cloud.google.com/translation/pricing
.. _FAQ: https://cloud.google.com/translation/faq
.. _Identifying your application to Google: https://cloud.google.com/translation/docs/translating-text
.. _confidence: https://cloud.google.com/translation/docs/detecting-language
.. _Google Cloud Translation: https://cloud.google.com/translate/
.. _Pricing: https://cloud.google.com/translate/pricing
.. _FAQ: https://cloud.google.com/translate/faq
.. _Identifying your application to Google: https://cloud.google.com/translate/docs/translating-text
.. _confidence: https://cloud.google.com/translate/docs/detecting-language
7 changes: 3 additions & 4 deletions translate/google/cloud/translate/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def get_languages(self, target_language=None):

Response

See: https://cloud.google.com/translate/v2/\
discovering-supported-languages-with-rest
See:
https://cloud.google.com/translate/docs/discovering-supported-languages

:type target_language: str
:param target_language: (Optional) The language used to localize
Expand All @@ -96,8 +96,7 @@ def get_languages(self, target_language=None):
def detect_language(self, values):
"""Detect the language of a string or list of strings.

See: https://cloud.google.com/translate/v2/\
detecting-language-with-rest
See: https://cloud.google.com/translate/docs/detecting-language

:type values: str or list
:param values: String or list of strings that will have
Expand Down