Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 836 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 836 Bytes

translate

A maubot to translate words using Google Translate (DeepL is planned too)

Usage

After inviting the bot to your room, simply use the !translate command:

!translate en uk Hello, world!

which results in

Translate Bot:
> rubo77
> !translate en uk Hello, world!
Привіт Світ!

You can also use the alias tr:

!tr en uk Hello, world!

The first parameter (source language) can be set to auto or omitted entirely to let Google Translate detect the source language. Additionally, you can reply to a message with !tr <from> <to> (no text) to translate the message you replied to.

supported languages:

  • de: (german)
  • en: (english)
  • zh: (chinese)
  • ...

Full list of supported languages: https://cloud.google.com/translate/docs/languages