Skip to content

Ivinco/slack-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack instant translation bot

This bot being invited to a Slack channel translates all the messages into the language specified in the config. It doesn't have any commands or whatever else yet, just translates all. It's based on Google Translate API

Sergey: Привет

translate: Hi

Prerequisites and configuration

Target Language

You need to set the target language (targetLang var) in the variables when creating the bot (with the 2 letters language code: fr, en, es, ko, de, etc...) in slack-translate.js.

Bot creation

You need to create a bot on slack and get a bot access token. Then set it in the botToken variable in slack-translate.js.

Start the Slack Bot

$ npm start

Make sure you run:

$ npm i

before to install the dependencies.

About

SYSTRAN Translation Bot for Slack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published