Skip to content

Latest commit

 

History

History
52 lines (27 loc) · 2.02 KB

TRANSLATIONS.md

File metadata and controls

52 lines (27 loc) · 2.02 KB

Translations with DeepL

This bot supports and uses DeepL for translations (optionally). If you want to enable the translations service, you can add a line in your .env file as follows:

DEEPL_TOKEN="your deepl token"  

You can sign up for a Free Tier of DeepL API, which allows 500,000 characters/month of language translations. The DeepL translation service unlocks some new commands for your bot:

/translate <text> <language> - Translate any given piece of text into the language that you provide

/languages - See a list of all supported languages

Using DeepL also adds a new app menu button (when you right click a message) to the bot which allows you to quickly translate any message in a channel into any language you want:

1. Go to the DeepL Translate API signup page to get an API key

Click "Sign up for free":

image

2. Click on "Sign up for free" under "DeepL API Free"

image

3. Register yourself a new account/Login to the Account Overview

After logging in, you will be redirected to the Account Overview:

image

4. Copy Authentication Key to .env file

Click on the "Account" Tab on the Account Overview:

image

Scroll down and copy your Authentication Key for DeepL API:

image