-
-
Notifications
You must be signed in to change notification settings - Fork 336
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
谷歌翻译对中国大陆停止服务,要使用谷歌翻译需要将 *.googleapis.com
添加到代理名单!
#400
Comments
我也是这个问题,但是腾讯翻译可以用。其他引擎都不行。 |
这几天我也是这样 |
同样的问题,目前只有必应翻译和腾讯翻译可以用。 |
+1 我也这样 好烦 |
最近一直这样子 |
只需要在梯子内将 translate.googleapis.com 设为走代理(PROXY)就可以了 |
我也这样 但是edge就莫名奇妙可以用 很奇怪 |
请教怎么设置呢 谢谢 |
Google发言人通过电子邮件告诉TechCrunch,该公司已经停止了Google翻译在中国大陆的服务,原因是"因为使用率低"。 |
感谢,一直没找到这个url |
没那么复杂,谷歌翻译api在大陆还可以正常使用,以下文本复制到txt,改txt为bat,管理员身份运行即可; @setlocal enabledelayedexpansion
@echo off
set "source_domain=google.cn"
set "target_domain=translate.googleapis.com"
set "hosts_file=C:\Windows\System32\drivers\etc\hosts"
for /f "skip=4 tokens=2" %%a in ('"nslookup %source_domain% 2>NUL"') do set ip=%%a
set "old_rule=null"
set "new_rule=%ip% %target_domain%"
for /f "tokens=*" %%i in ('type %hosts_file%') do (
set "line=%%i"
:: Retrieve the rule If the target domain has been exists in the line.
if not "!line:%target_domain%=!"=="%%i" set "old_rule=%%i"
)
if not "%old_rule%"=="null" (
if not "%old_rule%"=="%new_rule%" (
echo Deleting the rule "%old_rule%"
echo Adding the rule "%new_rule%"
for /f "tokens=*" %%i in ('type "%hosts_file%" ^| find /v /n "" ^& break ^> "%hosts_file%"') do (
set "rule=%%i"
set "rule=!rule:*]=!"
if "%old_rule%"=="!rule!" set "rule=%new_rule%"
>>%hosts_file% echo(!rule!
)
) else (
echo The rule already exists, nothing to do.
)
) else (
echo Adding the rule "%new_rule%"
echo.>>%hosts_file%
echo.>>%hosts_file%
echo # Fix Google Translate CN>>%hosts_file%
echo %new_rule%>>%hosts_file%
)
echo Done.
pause |
Thanks! |
赞,操作后,谷歌网页翻译可以用了,谢谢 |
谢谢!谷歌翻译终于又可以用了! |
厉害呀!又可以使用了,大神,牛, 牛。好人一生平安! |
thanks! |
管理员权限运行后,提示 |
同样提示 |
详情看 |
还是拒绝访问…… |
设置代理后还是无法进行翻译。 |
又g了,那位大佬有别的法子 |
能否使用镜像网站呢? |
不行啊,还是只有腾讯翻译能用 |
describe the bug描述问题
全部翻译都失效了
steps to reproduce复现步骤
右键点击【翻译】,侧边栏的翻译显示无网络
environment 使用环境
tell us your environment info,e.g.: 在这里给出你的使用环境,例如:
个人电脑
browser name 浏览器类型 [e.g. chrome, firefox]
**edge 105.0.1343.50
侧边翻译 版本2.3.0**
issue screenshot 问题截图
The text was updated successfully, but these errors were encountered: