Merge branch 'harshil1712-docs/google-translate'

This commit is contained in:
Tanay Pant 2020-10-27 15:28:16 +01:00
commit 8a8543230b
4 changed files with 47 additions and 0 deletions

View File

@ -12,6 +12,7 @@ You can use these credentials to authenticate the following nodes with Google.
- [Google Drive](../../nodes-library/nodes/GoogleDrive/README.md)
- [Google Sheets](../../nodes-library/nodes/GoogleSheets/README.md)
- [Google Tasks](../../nodes-library/nodes/GoogleTasks/README.md)
- [Google Translate](../../nodes-library/nodes/GoogleTranslate/README.md)
- [YouTube](../../nodes-library/nodes/YouTube/README.md)

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

View File

@ -0,0 +1,46 @@
---
permalink: /nodes/n8n-nodes-base.googleTranslate
description: Learn how to use the Google Translate node in n8n
---
# Google Translate
[Google Translate](https://translate.google.com/) is a free multilingual translation service developed by Google to translate text and websites from one language into another.
::: tip 🔑 Credentials
You can find authentication information for this node [here](../../../credentials/Google/README.md).
:::
## Basic Operations
::: details Language
- Translate
:::
## Example Usage
This workflow allows you to translate text from English to German using the Google Translate node. You can also find the [workflow](https://n8n.io/workflows/743) on the website. This example usage workflow uses the following nodes.
- [Start](../../core-nodes/Start/README.md)
- [Google Translate]()
The final workflow should look like the following image.
![A workflow with the Google Translate node](./workflow.png)
### 1. Start node
The start node exists by default when you create a new workflow.
### 2. Google Translate node (translate:language)
This node will translate the text `Hello from n8n!` to German. You can enter a different text as well as select another language to translate the text to.
1. Select 'OAuth2' from the ***Authentication*** dropdown list.
2. Next, you'll have to enter credentials for the Google Translate node. You can find out how to enter credentials for this node [here](../../../credentials/Google/README.md).
3. Enter the text `Hello from n8n!` in the ***Text*** field.
4. Select 'DE' from the ***Translate To*** dropdown list. DE is the language code for German. You can refer to [Language Support](https://cloud.google.com/translate/docs/languages) to view the list of all supported languages and their corresponding language codes.
5. Click on ***Execute Node*** to run the node.
In the screenshot below, you will notice that the node translates the text `Hello from n8n!` to German.
![Using the Google Translate node to translate text in German](./GoogleTranslate_node.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB