yixianle / google-translate Goto Github PK
View Code? Open in Web Editor NEW翻译工具 支持网页翻译和文本翻译
Home Page: http://translate.witbag.cn/
License: MIT License
翻译工具 支持网页翻译和文本翻译
Home Page: http://translate.witbag.cn/
License: MIT License
请问不能将中文翻译成英文吗?
index_bundle.js:1 Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
2017-07-08 20:48:48: Starting execution sequence in -cluster mode- for app name:trans id:0
2017-07-08 20:48:48: Starting execution sequence in -cluster mode- for app name:trans id:1
2017-07-08 20:48:48: App name:trans id:0 online
2017-07-08 20:48:48: (node:8016) [DEP0007] DeprecationWarning: worker.suicide is deprecated. Please use worker.exitedAfterDisconnect.
2017-07-08 20:48:48: App name:trans id:1 online
2017-07-08 20:48:48: (node:8016) [DEP0007] DeprecationWarning: worker.suicide is deprecated. Please use worker.exitedAfterDisconnect.
系统是centos,可以启动 start,能正常网页翻译,但是不能使用pm2,启动后自动关闭,查看log,就是上面的报错。
我一直使用作者的网页翻译功能,挺好用的,现在失效了,不知道是哪里出问题了,可以帮忙更新下代码?猜测是不是tkk更新了?
是google封禁了么?
2017-09-14 19:35 +08:00: -----api-------
2017-09-14 19:35 +08:00: server error { Error
at /Users/wzl_vanda/nodejs_github/google-translate/node_modules/translate-api/src/api.js:116:7 code: 'BAD_NETWORK' } { request:
{ method: 'POST',
url: '/translate/api',
header:
{ host: 'localhost:5000',
connection: 'keep-alive',
'content-length': '1132',
origin: 'http://localhost:5000',
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36',
'content-type': 'application/json',
accept: '/',
referer: 'http://localhost:5000/',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'zh-CN,zh;q=0.8,en;q=0.6' } },
response: { status: 500, message: 'Internal Server Error', header: {} },
app: { subdomainOffset: 2, proxy: false, env: 'production' },
originalUrl: '/translate/api',
req: '',
res: '',
socket: '' }
2017-09-14 19:35 +08:00: --> POST /translate/api 500 97ms 32b
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.