> For the complete documentation index, see [llms.txt](https://appmaster.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appmaster.gitbook.io/docs/modules/module/language-settings/google-translate.md).

# Google Translate

Translation using the Google Translate service

**Google Translate** module adds integration with **Google Translate** service to your application and is intended for automated text translation.

## Business processes <a href="#biznes-processy" id="biznes-processy"></a>

* Google Translate: Translate

#### Input

* **text** (text) - source text for translation.
* **source\_lang** (ENUM) - language of the source text.
* **target\_lang** (ENUM) - target language for translation
* **is\_html** (boolean) - a mark that the input source text is html formatted.

#### Output

* **text** (text) - translated text

## Settings <a href="#nastroiki" id="nastroiki"></a>

| Parameter            | Preset | Description                                                        |
| -------------------- | ------ | ------------------------------------------------------------------ |
| Project ID           | -      | Your project ID on Google Cloud Platform.                          |
| Service Account File | -      | Service account private key JSON file of your Google Cloud project |

Use [**Google Cloud Console**](https://console.cloud.google.com/) to get the Project ID. Manual for obtaining and setting up the Project ID is available at [this link](https://cloud.google.com/resource-manager/docs/creating-managing-projects).

Manual for obtaining Service Account File is available at [this link](https://cloud.google.com/docs/authentication/getting-started). According to security policy, Google does not store your private key so you can not redownload your JSON file. You will have to create a new key if necessary.
