From 5d8775ba0f78165807d6b4e898771863be694d13 Mon Sep 17 00:00:00 2001 From: David Wessman Date: Sat, 16 Sep 2023 11:04:18 +0200 Subject: [PATCH] README: Adds information about environment variables Related to #395 --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 1c3b2c6b..69f7e354 100644 --- a/README.md +++ b/README.md @@ -411,6 +411,12 @@ translation: google_translate_api_key: ``` +or via environment variable: + +```bash +GOOGLE_TRANSLATE_API_KEY= +``` + ### DeepL Pro Translate @@ -424,6 +430,14 @@ translation: deepl_version: ``` +or via environment variables: + +```bash +DEEPL_API_KEY= +DEEPL_HOST= +DEEPL_VERSION= +``` + ### Yandex Translate @@ -435,6 +449,12 @@ translation: yandex_api_key: ``` +or via environment variable: + +```bash +YANDEX_API_KEY= +``` + ### OpenAI Translate @@ -446,6 +466,12 @@ translation: openai_api_key: ``` +or via environment variable: + +```bash +OPENAI_API_KEY= +``` + ## Interactive console `i18n-tasks irb` starts an IRB session in i18n-tasks context. Type `guide` for more information.