hope i did it right
[15:00:21.643] Google Translate[Script Filter] Queuing argument 'apple'
[15:00:24.540] Google Translate[Script Filter] Script with argv 'apple' finished
[15:00:24.545] ERROR: Google Translate[Script Filter] Code 1: {
"items": [
{
"title": "алим",
"subtitle": "Detected the input language is English, not one of your configuration."
}
]
}
{
"items": [
{
"title": "HTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=mn&ie=UTF-8&idx=0&total=1&textlen=4&q=%D0%B0%D0%BB%D0%B8%D0%BC&tk=913782.913782\n at /Users/bill/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EFD2ED-16C5-4DD1-AEB6-D7E6F950B925/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=mn&ie=UTF-8&idx=0&total=1&textlen=4&q=%D0%B0%D0%BB%D0%B8%D0%BC&tk=913782.913782\n at /Users/bill/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EFD2ED-16C5-4DD1-AEB6-D7E6F950B925/node_modules/got/index.js:123:13\n```\n\n-\nGoogle Translate 2.0.9\nAlfred 4.3.2\ndarwin 20.4.0",
"largetype": "HTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=mn&ie=UTF-8&idx=0&total=1&textlen=4&q=%D0%B0%D0%BB%D0%B8%D0%BC&tk=913782.913782\n at /Users/bill/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EFD2ED-16C5-4DD1-AEB6-D7E6F950B925/node_modules/got/index.js:123:13"
},
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
}
}
]
}
[15:00:24.549] ERROR: Google Translate[Script Filter] JSON error: Garbage at end. in JSON:
{
"items": [
{
"title": "алим",
"subtitle": "Detected the input language is English, not one of your configuration."
}
]
}
{
"items": [
{
"title": "HTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=mn&ie=UTF-8&idx=0&total=1&textlen=4&q=%D0%B0%D0%BB%D0%B8%D0%BC&tk=913782.913782\n at /Users/bill/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EFD2ED-16C5-4DD1-AEB6-D7E6F950B925/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=mn&ie=UTF-8&idx=0&total=1&textlen=4&q=%D0%B0%D0%BB%D0%B8%D0%BC&tk=913782.913782\n at /Users/bill/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EFD2ED-16C5-4DD1-AEB6-D7E6F950B925/node_modules/got/index.js:123:13\n```\n\n-\nGoogle Translate 2.0.9\nAlfred 4.3.2\ndarwin 20.4.0",
"largetype": "HTTPError: Response code 404 (Not Found)\nUrl: https://translate.google.com/translate_tts?client=gtx&tl=mn&ie=UTF-8&idx=0&total=1&textlen=4&q=%D0%B0%D0%BB%D0%B8%D0%BC&tk=913782.913782\n at /Users/bill/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EFD2ED-16C5-4DD1-AEB6-D7E6F950B925/node_modules/got/index.js:123:13"
},
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
}
}
]
}
CN>EN ✅
[15:11:39.848] Google Translate[Script Filter] Queuing argument '苹果'
[15:11:43.160] Google Translate[Script Filter] Script with argv '苹果' finished
[15:11:43.164] Google Translate[Script Filter] {
"items": [
{
"title": "apple",
"subtitle": "Detected the input language is Chinese Simplified, not one of your configuration."
}
]
}