This is a fork of https://github.com/alexu84/bing-translate
Bing Translator module for node.js
This will install the original plugin without the modifications I have added to my forked project:
$ npm install bing-translate
If you wish to use my version, then clone this repository in a subfolder within your project, and use "require".
var bt = require('./lib/bing-translate.js').init({
client_id: 'your_client_id',
client_secret: 'your_client_secret'
});
bt.translate('This hotel is located close to the centre of Paris.', 'en', 'ro', function(err, res){
console.log(err, res);
});
Please refer to this link for the complete list of the languages supported by BING.