# node-google-translate **Repository Path**: mirrors_leecade/node-google-translate ## Basic Information - **Project Name**: node-google-translate - **Description**: Uses the paid Google Translate API to translate text. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Google Translate API client for node.js. The new API (v2) is a paid service. To create a key, you'll need to go here https://code.google.com/apis/console and enter your credit card details. var translate = require('../lib/translate') , assert = require('assert') var key = ''; // Translate ones string translate({key: key, q: 'my test', target: 'fr'}, function(result){ console.log(result); // prints {"my test": "mon test"} }); // Translate multiple strings translate({key: key, q: ['one', 'two'], target: 'fr'}, function(result){ console.log(result); // prints {"one": "un", "two": "duex"} });