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

Deep Translator] Service detect language disabled! #120

Closed
KasimKIng opened this issue Feb 19, 2025 · 6 comments
Closed

Deep Translator] Service detect language disabled! #120

KasimKIng opened this issue Feb 19, 2025 · 6 comments

Comments

@KasimKIng
Copy link

KasimKIng commented Feb 19, 2025

Hello, author. I encountered the following issue while using this node in ComfyUI. I have already confirmed that the VPN is correctly configured. However, I am unable to translate Chinese into English, and despite consulting many resources, I still can't solve the problem. Could you please help me figure out how to eliminate this issue? Thank you.

[Deep Translator] Service: "GoogleTranslator"
[Deep Translator] Proxy disabled or input field is empty!
[Deep Translator] Authorization input field is empty!
Deep Translator] Service detect language disabled! Services support: DeeplTranslator, QcriTranslator, LingueeTranslator, PonsTranslator, PapagoTranslator, BaiduTranslator, MyMemoryTranslator.
The selected service has its own way of detecting the language.
Property "detect_lang_api_key" in Authorization data is empty or incorrect!

Image

@AlekPet
Copy link
Owner

AlekPet commented Feb 19, 2025

Hi. The language detector is only needed for those services that cannot determine the language themselves, Google does not require it. If you use VPN, check that the PROXY field (the Show proxy button will show the field) is empty and the add proxy switch is set to false, since you are using a VPN above the network and you do not need to set a proxy in the node. And if you have a proxy, then either enter them in the proxy field or in the config.json file, in the proxies key (http and https), so that they are added by default and turn on the add proxy option to true.

@AlekPet
Copy link
Owner

AlekPet commented Feb 19, 2025

Solution: I looked and Google only understands simplified Chinese.
Example: not working 船槳 -> English
Example: working 船桨 -> English

Perhaps this is not a deeptranslator improvement.

@KasimKIng
Copy link
Author

Hi. The language detector is only needed for those services that cannot determine the language themselves, Google does not require it. If you use VPN, check that the PROXY field (the Show proxy button will show the field) is empty and the add proxy switch is set to false, since you are using a VPN above the network and you do not need to set a proxy in the node. And if you have a proxy, then either enter them in the proxy field or in the config.json file, in the proxies key (http and https), so that they are added by default and turn on the add proxy option to true.

Thank you. I am using a VPN to access the internet, so I haven't set up a proxy in the node.

@AlekPet
Copy link
Owner

AlekPet commented Feb 19, 2025

Hi. The language detector is only needed for those services that cannot determine the language themselves, Google does not require it. If you use VPN, check that the PROXY field (the Show proxy button will show the field) is empty and the add proxy switch is set to false, since you are using a VPN above the network and you do not need to set a proxy in the node. And if you have a proxy, then either enter them in the proxy field or in the config.json file, in the proxies key (http and https), so that they are added by default and turn on the add proxy option to true.

Thank you. I am using a VPN to access the internet, so I haven't set up a proxy in the node.

See: #120 (comment)

Issue in deep-translator github:
nidhaloff/deep-translator#288

@KasimKIng
Copy link
Author

**溶液:**我看了一下,谷歌只懂简体中文。示例: not working 船槳 -> 中文 示例: working 船桨 -> 中文

I am indeed using Simplified Chinese, and it used to work just fine. However, it started having problems recently. Reinstalling the node, and even the entire ComfyUI, couldn't fix this issue.

@AlekPet
Copy link
Owner

AlekPet commented Feb 19, 2025

**溶液:**我看了一下,谷歌只懂简体中文。示例: not working 船槳 -> 中文 示例: working 船桨 -> 中文

I am indeed using Simplified Chinese, and it used to work just fine. However, it started having problems recently. Reinstalling the node, and even the entire ComfyUI, couldn't fix this issue.

Or select from_translate : chinese (traditional) 😉

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

2 participants