Dougley / MegaBot

Discord bot that interacts with Zendesk Community
GNU Affero General Public License v3.0
1 stars 0 forks source link

Language detection + Translator link #35

Closed drdrjojo closed 5 years ago

drdrjojo commented 5 years ago

Is your feature request related to a problem? Please describe. Discord already supports over 14 languages and we also receive a lot of suggestions in foreign languages that need to be translated for the most of us.

Describe the solution you'd like A feature for !info and/or new-suggestion-feed that may detect the language (for example via langdetect) and check if it english (or contains it, because some suggestions have origin + translated version included). If the suggestion is not in english or does not have an english translation included, the info or feed embed could include a link to a translation link. For example http://translate.google.com/#auto|en|urlencoded%20feedback or https://translate.google.com/translate?sl=auto&tl=en&u=https%3A%2F%2Fsupport.discordapp.com%2Fhc%2Fen-us%2Fcommunity%2Fposts%2F360037435812 (if its too long or to force the embed field length).

Describe alternatives you've considered If we have access to a translation service this feature could be extended to auto-translate the suggestions, add it as comment and add the a link to the translated comment as embed field.

Additional context Google Translate is just an example because it is the most used translation engine in the community.