Hi everyone! I made a translator bot that translates statuses it's mentioned in.

To use it, mention @translator ([email protected]) in your status, followed by the two-letter code for the language you want to translate to (e.g. "ja" for Japanese) (full list of possible codes here: https://christopher.su/projects/translator/). It uses English if no language is given.

Give it a try and toot me your suggestions and comments!

@translator ja
#MastoDev #Mastodon #Bots #Languages

@cs @translator When the toot is already in the target language, it is reproduced as is, *except* if the target language is english, where the toot is ignored.
@translator @bortzmeyer That's intentional. What do you think it should do?
@cs Why the difference between english and the other target languages? @translator yua

@translator @bortzmeyer Figured that was the most likely case as mentioning @translator without any code defaults it to English. I wanted to reduce the number of unwanted translations without reducing the number of wanted translations.

Implementation-wise, it takes another API call to detect the source language before translating

@cs OK, I understand. Makes sense.