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

Autodetect doesn't work. #77

Open
PranavSandeep opened this issue Jun 16, 2021 · 3 comments
Open

Autodetect doesn't work. #77

PranavSandeep opened this issue Jun 16, 2021 · 3 comments

Comments

@PranavSandeep
Copy link

I tried to use autodetect in both command-line and in the module. In both the instances, I get an error like this:

"'' IS AN INVALID SOURCE LANGUAGE . EXAMPLE: LANGPAIR=EN|IT USING 2 LETTER ISO OR RFC3066 LIKE ZH-CN. ALMOST ALL LANGUAGES SUPPORTED BUT SOME MAY HAVE NO CONTENT"

Python version: 3.9.4
Translate module version: 3.5.0

Thank you.

@mennatallah644
Copy link

I face this error
rrr

@demongolem-biz
Copy link

demongolem-biz commented Jun 21, 2021

From the command line, if i specify -f en it works. If not, I got the above error message because autodetect is not kicking in and some default of empty string is being used for the from language.

#69 apparently describes the same problem and is also open

@worldwar2008
Copy link

I meet the same problem:
translate-cli -t zh "This is a pen."

Translation: 'AUTODETECT' IS AN INVALID SOURCE LANGUAGE . EXAMPLE: LANGPAIR=EN|IT USING 2 LETTER ISO OR RFC3066 LIKE ZH-CN. ALMOST ALL LANGUAGES SUPPORTED BUT SOME MAY HAVE NO CONTENT

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

4 participants