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

[Feature]: Return the chosen language (handy when using 'auto') #140

Closed
ManuelSchneid3r opened this issue Aug 30, 2023 · 2 comments
Closed
Assignees

Comments

@ManuelSchneid3r
Copy link

ManuelSchneid3r commented Aug 30, 2023

It would be nice to know which language was chosen as source language when translated with 'auto'. A function translate that returns something like ['src_lang', 'dest_lang', 'translated_text'] would be awesome.

@UlionTse
Copy link
Owner

UlionTse commented Aug 31, 2023

@ManuelSchneid3r
Hello friend !
Please read this -> #139 (comment)

In general, you can pip install langdetect or pip install langid.
Better yet, you can pip install gcld3 or pip install fasttext-langdetect.

@ManuelSchneid3r
Copy link
Author

indeed this issue is covered by #139. ty, i'll join the dicsussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants