Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: overide Translator-translateText to get rid of null parsing for sourceLang to auto-detect #47

Open
Raboro opened this issue Sep 20, 2024 · 0 comments

Comments

@Raboro
Copy link

Raboro commented Sep 20, 2024

I want to override Translator.translateText without sourceLang as parameter. This method calls Translator.translateText always with sourceLang == null. Therefore If a user wants to auto-detect the sourceLang, it is no longer necessary to parse null manually.

@Raboro Raboro changed the title feat: overide Translator-translateText to get rid ot null parsing for sourceLang to auto-detect feat: overide Translator-translateText to get rid of null parsing for sourceLang to auto-detect Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant