Skip to content

Commit

Permalink
✨ Add Google Translate node
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil1712 committed Oct 27, 2020
1 parent 6f92961 commit 55abb4e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 13 additions & 6 deletions docs/nodes/nodes-library/nodes/GoogleTranslate/README.md
Expand Up @@ -19,7 +19,7 @@ You can find authentication information for this node [here](../../../credential

## Example Usage

This workflow allows you to translate text using the Google Translate node. You can also find the [workflow](https://n8n.io/workflows/428) on the website. This example usage workflow uses the following nodes.
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]()

Expand All @@ -31,9 +31,16 @@ The final workflow should look like the following image.

The start node exists by default when you create a new workflow.

### 2. Google Translate node
### 2. Google Translate node (translate:language)

1. First of all, you'll have to enter credentials for the Google Translate node. You can find out how to do that [here](../../../credentials/Google/README.md).
2. Select the *TaskList* from the dropdown list of the user's task-lists where a new task needs to be added.
3. Enter a title for the task in the *Title* field.
4. Click on *Execute Node* to run the workflow.
This node will translate the text `Hello from n8n!` into German. You can enter a different text as well as select another language to translate the text.

1. Select 'OAuth2' from the ***Authentication*** dropdown list.
2. First of all, 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 [Language Support](https://cloud.google.com/translate/docs/languages) to view the lists of all the 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!` into German.

![Using the Google Translate node to translate text in German](./GoogleTranslate_node.png)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 55abb4e

Please sign in to comment.