statickidz / node-google-translate-skidz Goto Github PK
View Code? Open in Web Editor NEWSimple Node.js library for talking to Google's Translate API for free.
Home Page: https://statickidz.com
License: MIT License
Simple Node.js library for talking to Google's Translate API for free.
Home Page: https://statickidz.com
License: MIT License
Hello,
Thank you for this package. It is very useful.
Now, i have the same app running in two different machines.
One is returning "Couldn't retrieve a valid JSON response. Perhaps the API has changed, please let us know." and the other is returning the translation just fine.
Do you have any idea of what might be happening?
I'm trying to execute this code:
translate({
q: 'text to translate',
source: 'en',
target: 'es'
}, function(result) {
console.log(result);
});
And... output it's "texto" when should be "texto para traducir".
Google Translate API it's a paid service, I think Google is fucking this.
Trying to get a japanese text from Google Translate.
I get this.
�����ɂ���'
Seems like a problem with charcode.
Hi!
Thank you for this module. It was working great, but now it seems that Google closed that 'hole'...
However, I think it should be possible to adapt to the change.
Is there away to download the language you want for translation so that you can have an offline support ?
Couldn't retrieve a valid JSON response. Perhaps the API has changed, please let us know.
What's the problem with my application?
In some cases I find this quite restrictive in terms of returning the translated text. Like for single words google actually returns a lot of terms (dict.terms) which are omitted, understandably, from the simple translated text result.
It would be better to get back the original API results, maybe as a second argument to the callback. Thoughts?
Did i need to specify charset?
How to?
I accidentally got banned by google server, what I have to do now?
I'm letting you know ;)
Gracias.
It seems the library name has changed from node-google-translate-free
to node-google-translate-skidz
on npm. But this github project is still called -free
. And packages with both names exist on npm, -free
being the outdated one.
This might confuse users. It also creates problem for contributers, when you clone this repo from github it clones as -free
and npm link
links it with that name which the project using it isn't able to find.
Please unpublish the -free
package from npm (you might need to email them to remove it entirely or have it redirected) and rename this github repo to -skidz
(github handles redirects automatically I think)
Hi. Thanks for the useful library!
It would be nice to have TypeScript definitions for the library (either included in the package directly or separate in a @types/node-google-translate-skidz
package) 🚀
Please add promise support.
(Great lib btw!)
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.