

#Slack translate bot code#
Translate text instantly using /translate lang text where lang is the language code (es, fr, de, etc.) for the desired translation and text is the text you want to translate. Or translate any message using the 'Translate this message' action from the shortcuts menu for any Slack message. configure them to GET to the URIs /translate/en_ja and /translate/ja_en at the FQDN of your appengine app from step 1. Then optionally post the translation to a channel. create your new /slash commands /e2j and /j2e.I integrate well-known APIs and databases to help businesses increase efficiency and save time and money. create a new appengine app, do what you need to do Custom bots for automating businesses Contact Me From France Member since Nov 2022 Languages English, French, Spanish Hi Im a bot developer with expertise in creating custom bots for Discord, Telegram, and Slack. the code as-is is for google app engine.The demo code as you see it here is only setup for English Japanese, but you can see how easy it would be to tailor to your specific needs/reqs. Similarly, assuming /j2e has been setup as above (but for Japanese to English), if a user entered /j2e スペインの雨は、平面上に、主に落ちます the response would be something like: The best Slack Translate alternatives are: Lingvanex, Text/Turner, LanguageBot, Kiara Translation, Translate for Slack. Slack translation bot (using DeepL service) written in Elixir/Phoenix - GitHub - Cellane/deepthought: Slack translation bot (using DeepL service) written. j2e to translate Japanese to English example runĪssuming slash command /e2j has been setup in your slack as a new slash command to translate English to Japanese, you've pointed it to your appengine instance, if a user entered /e2j the rain in spain falls mainly on the plane the response would be something like: I wrote this because i wanted 2x new /slash commands:

rip out those mini bits and you can run it anywhere. NOTE: this demo code is google appengine-specific. Demo Golang backend code for a Slack /slash command to translate text from one language to another.
