habitica-chat-extension icon indicating copy to clipboard operation
habitica-chat-extension copied to clipboard

Feature Request: Add button to translate text in chat to native language

Open cTheDragons opened this issue 3 years ago • 2 comments

Add a button on each chat window not by you to add the ability to translate the bubble text using Google Translate.

For Example, if the text in the bubble is:

第一次来,请多指教

It will create an external (Extra) tab with the link

https://translate.google.com/?sl=auto&tl=en&text=%E7%AC%AC%E4%B8%80%E6%AC%A1%E6%9D%A5%EF%BC%8C%E8%AF%B7%E5%A4%9A%E6%8C%87%E6%95%99&op=translate

The button must not part of the Avatar, or stop the copy and pasting of text. It can appear on the outside of the bubble if best (Maybe only appear when you hover?)

cTheDragons avatar Nov 21 '21 04:11 cTheDragons

It might not answer your question, but afaik DeepL professional offers ways to translate in different documents or websites, however the translation may not be so good as in GoogleTranslate.com Have you checked? https://www.deepl.com/pro?cta=header-pro

ghost avatar Nov 21 '21 06:11 ghost

I have a quick check of DeepL. The only issue is it is country limited. https://www.deepl.com/pro/select-country?cta=header-pro#team. (Which includes mine) So I think it best we stick with Google Translate for now.

Thanks for the suggestion though. Didn't realise this existed.

cTheDragons avatar Nov 21 '21 15:11 cTheDragons