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

error while translating "Best Sellers" using google. Assigned "--" instead of exit from cli. #53

Open
zakidze opened this issue Apr 1, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@zakidze
Copy link

zakidze commented Apr 1, 2024

error while translating "Best Sellers" using google. Assigned "--" instead of exit from cli.

@ParvinEyvazov
Copy link
Member

Hi @zakidze ,

can you please enable fallback logic which will try another translation module on fail.

-fb, --fallback <string>   optional ↵ | fallback logic, try other translation modules on fail | yes, no | default: no

Also for most cases, google2 is working better than google module.

@zakidze
Copy link
Author

zakidze commented Apr 1, 2024

yes google2 worked fine

however i want to ask

  1. is there a batch json tranlsations?

  2. specify the destination folder

  3. translate the whole folder + it look for subfolders and return the exact folder structre?

@ParvinEyvazov
Copy link
Member

Unfortunately, jsontt doesn't support this for now. But I have plan to add it.

@zakidze
Copy link
Author

zakidze commented Apr 4, 2024 via email

@ParvinEyvazov
Copy link
Member

Yes, for all, unfortunately, it is currently not possible.

@ParvinEyvazov ParvinEyvazov added the enhancement New feature or request label May 5, 2024
@YoungKamilson
Copy link

YoungKamilson commented Oct 21, 2024

Hi, I have the same issue. Unfortunately there is no error cause. It happens with every JSON key. I used google2 and it worked fine.
error while translating "Informacje" using deepl. Assigned "--" instead of exit from cli.

Worth to mention: I set DEEPL_API_KEY env var and yesterday I used deepl api translations with jsontt and everything worked. I dont have exceeded DEEPL limit

Is this an internal issue or problem with Deepl API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants