Closed JAXPLE closed 4 months ago
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Yay! can't wait for this to get added!
Hey @JAXPLE!
Thanks for the PR, but unfortunately this approach of reversing the languages isn't going to work.
Google Translate has a special "auto detect" option that only works on the input language. That's why we have two different enums: FromLanguage
and ToLanguage
. Swapping the languages means it would end up trying to translate from English to Auto Detect by default, which it can't do because the output language can't be auto-detected.
I think we need a fundamentally different approach to make translating sent messages work in a way that's intuitive to the user and supports auto-detection correctly. I have some ideas for how that might work, but I'll be closing this PR for now.
Description
Testing