Code Monkey home page Code Monkey logo

node-google-translate-skidz's Introduction

Google Translate Node JS Build Status

Google Translate API client for node.js.

Install

npm install node-google-translate-skidz --save

USAGE

var translate = require('node-google-translate-skidz');

translate({
  text: 'text',
  source: 'es',
  target: 'en'
}, function(result) {
  console.log(result);
});

node-google-translate-skidz's People

Contributors

cagataycali avatar dependabot[bot] avatar iarmankarimi avatar laggingreflex avatar legneato avatar statickidz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

node-google-translate-skidz's Issues

Library name changed on npm?

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)

Does not work anymore?

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.

Problem with japanese strings

Trying to get a japanese text from Google Translate.

I get this.

�����ɂ���'

Seems like a problem with charcode.

Unable to translate not-default text

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.

Proxy support?

I accidentally got banned by google server, what I have to do now?

Too restrictive? Return additional info from google?

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?

Offline supprt

Is there away to download the language you want for translation so that you can have an offline support ?

Add TypeScript definitions

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) 🚀

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.