Comments (11)
please try with trc iw&en
. it seems he
no working again.
from alfred-google-translate.
Won't work for me. While it is configured to iw
or he
it behaves as if it encounters an error and crashes internally every time a translation is attempted. It won't show any results even when trying to translate an untranslatable special character like ✟ (which works if set to any other language).
from alfred-google-translate.
would you please paste the version of the node, alfred, workflow?
and if the workflow shown any errors paste the stack trace too.
from alfred-google-translate.
Node 12.13.0
Alfred 4.0.7
Workflow - main 2.0.8 and config 1.0.4
Also noticed that configured language doesn't matter, it crashes on Hebrew words even when other languages are set.
[06:23:54.082] ERROR: Google Translate (no Hebrew)[Script Filter] Code 1: {
"items": [
{
"title": "העדפת",
"subtitle": "Phonetic: ",
"quicklookurl": "https://translate.google.com/#view=home&op=translate&sl=iw&tl=en&text=%D7%94%D7%A2%D7%93%D7%A4%D7%AA",
"arg": "/var/folders/x7/kgxp3j9j5rx70lpkb0ls4jzr0000gn/T/706b175a-fb56-4246-8834-b1c35c9dbc60.mp3",
"text": {
"copy": "העדפת",
"largetype": "העדפת"
},
"icon": {
"path": "tts.png"
}
},
{
"title": "Preference",
"subtitle": "Phonetic: ",
"quicklookurl": "https://translate.google.com/#view=home&op=translate&sl=en&tl=iw&text=Preference",
"arg": "/var/folders/x7/kgxp3j9j5rx70lpkb0ls4jzr0000gn/T/d2ff3cdc-79ed-4133-a562-a1dae8a6a75e.mp3",
"text": {
"copy": "Preference",
"largetype": "Preference"
},
"icon": {
"path": "tts.png"
}
}
]
}
{
"items": [
{
"title": "HTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=iw&ie=UTF-8&idx=0&total=1&textlen=5&q=%D7%94%D7%A2%D7%93%D7%A4%D7%AA&tk=701164.793847\n at /usr/local/lib/node_modules/alfred-google-translate/node_modules/got/index.js:123:13\n at processTicksAndRejections (internal/process/task_queues.js:93:5)",
"subtitle": "Press ⌘L to see the full error and ⌘C to copy it.",
"valid": false,
"text": {
"copy": "```\nHTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=iw&ie=UTF-8&idx=0&total=1&textlen=5&q=%D7%94%D7%A2%D7%93%D7%A4%D7%AA&tk=701164.793847\n at /usr/local/lib/node_modules/alfred-google-translate/node_modules/got/index.js:123:13\n```\n\n-\nGoogle Translate (no Hebrew) 2.0.8\nAlfred 4.0.7\ndarwin 18.7.0",
"largetype": "HTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=iw&ie=UTF-8&idx=0&total=1&textlen=5&q=%D7%94%D7%A2%D7%93%D7%A4%D7%AA&tk=701164.793847\n at /usr/local/lib/node_modules/alfred-google-translate/node_modules/got/index.js:123:13"
},
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
}
}
]
}
[06:23:54.087] ERROR: Google Translate (no Hebrew)[Script Filter] JSON error: Garbage at end. in JSON:
{
"items": [
{
"title": "העדפת",
"subtitle": "Phonetic: ",
"quicklookurl": "https://translate.google.com/#view=home&op=translate&sl=iw&tl=en&text=%D7%94%D7%A2%D7%93%D7%A4%D7%AA",
"arg": "/var/folders/x7/kgxp3j9j5rx70lpkb0ls4jzr0000gn/T/706b175a-fb56-4246-8834-b1c35c9dbc60.mp3",
"text": {
"copy": "העדפת",
"largetype": "העדפת"
},
"icon": {
"path": "tts.png"
}
},
{
"title": "Preference",
"subtitle": "Phonetic: ",
"quicklookurl": "https://translate.google.com/#view=home&op=translate&sl=en&tl=iw&text=Preference",
"arg": "/var/folders/x7/kgxp3j9j5rx70lpkb0ls4jzr0000gn/T/d2ff3cdc-79ed-4133-a562-a1dae8a6a75e.mp3",
"text": {
"copy": "Preference",
"largetype": "Preference"
},
"icon": {
"path": "tts.png"
}
}
]
}
{
"items": [
{
"title": "HTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=iw&ie=UTF-8&idx=0&total=1&textlen=5&q=%D7%94%D7%A2%D7%93%D7%A4%D7%AA&tk=701164.793847\n at /usr/local/lib/node_modules/alfred-google-translate/node_modules/got/index.js:123:13\n at processTicksAndRejections (internal/process/task_queues.js:93:5)",
"subtitle": "Press ⌘L to see the full error and ⌘C to copy it.",
"valid": false,
"text": {
"copy": "```\nHTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=iw&ie=UTF-8&idx=0&total=1&textlen=5&q=%D7%94%D7%A2%D7%93%D7%A4%D7%AA&tk=701164.793847\n at /usr/local/lib/node_modules/alfred-google-translate/node_modules/got/index.js:123:13\n```\n\n-\nGoogle Translate (no Hebrew) 2.0.8\nAlfred 4.0.7\ndarwin 18.7.0",
"largetype": "HTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=iw&ie=UTF-8&idx=0&total=1&textlen=5&q=%D7%94%D7%A2%D7%93%D7%A4%D7%AA&tk=701164.793847\n at /usr/local/lib/node_modules/alfred-google-translate/node_modules/got/index.js:123:13"
},
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
}
}
]
}
from alfred-google-translate.
I saw that, its the tts problem. I'll take a look.
you could config the voice:none
temporarily.
from alfred-google-translate.
from alfred-google-translate.
perhaps no. sorry for that. but I'll fix this as soon as possible.
from alfred-google-translate.
I found that the Google not support Hebrew voice. look at this:
I'll find a way to give tips on workflow.
from alfred-google-translate.
Remark: I'm not sure which field of response body represents the voice available or not.
from alfred-google-translate.
there is any update?
from alfred-google-translate.
there is any update?
Sorry, Not yet.
from alfred-google-translate.
Related Issues (20)
- 早上翻译突然提示429?? 是不是验证接口出问题了 HOT 3
- dialogflow HOT 1
- Workflow stopped working after the new update HOT 12
- 请问支持截屏翻译吗 HOT 1
- The NEW 'batchexecute' RPC API HOT 1
- don't support Alfred4 with error. HOT 3
- 今天我下载了一个最新的版本 覆盖了我之前的版本 不知道什么原因直接不能翻译了 HOT 33
- 我使用时总是提示not one of your configuration HOT 2
- 翻译确实比较慢 我截图了一段耗时日志 帮忙看看 HOT 7
- 突然间response code 429 HOT 2
- Hotkey feature can not become effective
- When you use 'auto>selected language', you can't copy the text. HOT 2
- Alfred 3 安装后显示不可用 HOT 8
- Alfred 4 安裝後無法使用 HOT 4
- 就从前几个月开始无法翻译了,看日志只有输入,没有任何响应 HOT 11
- Google asking for cookies
- 繁體中文被檢測為簡體中文(Input Chinese traditional but detected with Chinese Simplified) HOT 1
- Feature Suggestion: Copy the text out instead of synthesis HOT 2
- TRC not remembering settings
- Is there a way to hit enter or option enter to make it paste the translation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-google-translate.