Skip to content

Commit

Permalink
README: Adds information about environment variables
Browse files Browse the repository at this point in the history
Related to #395
  • Loading branch information
davidwessman authored and glebm committed Oct 21, 2023
1 parent 2bd951f commit 5d8775b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,12 @@ translation:
google_translate_api_key: <Google Translate API key>
```
or via environment variable:
```bash
GOOGLE_TRANSLATE_API_KEY=<Google Translate API key>
```

<a name="deepl-translation-config"></a>
### DeepL Pro Translate

Expand All @@ -424,6 +430,14 @@ translation:
deepl_version: <optional>
```
or via environment variables:
```bash
DEEPL_API_KEY=<DeepL Pro API key>
DEEPL_HOST=<optional>
DEEPL_VERSION=<optional>
```

<a name="yandex-translation-config"></a>
### Yandex Translate

Expand All @@ -435,6 +449,12 @@ translation:
yandex_api_key: <Yandex API key>
```
or via environment variable:
```bash
YANDEX_API_KEY=<Yandex API key>
```

<a name="openai-translation-config"></a>
### OpenAI Translate

Expand All @@ -446,6 +466,12 @@ translation:
openai_api_key: <OpenAI API key>
```
or via environment variable:
```bash
OPENAI_API_KEY=<OpenAI API key>
```

## Interactive console

`i18n-tasks irb` starts an IRB session in i18n-tasks context. Type `guide` for more information.
Expand Down

0 comments on commit 5d8775b

Please sign in to comment.