All Projects → googleapis → Nodejs Translate

googleapis / Nodejs Translate

Licence: apache-2.0
Node.js client for Google Cloud Translate: Dynamically translate text between thousands of language pairs.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Nodejs Translate

ThisWeekInSpringTranslate
Sping周报中文翻译
Stars: ✭ 26 (-93.76%)
Mutual labels:  translate
react-translator-component
React language translation module for developing a multilingual project.
Stars: ✭ 13 (-96.88%)
Mutual labels:  translate
Googleapi
C# .NET Core Google Api (Maps, Places, Roads, Search, Translate). Supports all endpoints and requests / responses.
Stars: ✭ 346 (-17.03%)
Mutual labels:  translate
LMPHP
Multi-language management and support on the site.
Stars: ✭ 19 (-95.44%)
Mutual labels:  translate
braille
A Node module for converting text to Braille alphabet.
Stars: ✭ 18 (-95.68%)
Mutual labels:  translate
amazon-workmail-lambda-templates
Serverless applications for Amazon WorkMail.
Stars: ✭ 17 (-95.92%)
Mutual labels:  translate
ldr-translate
一个linux/ubuntu版本的翻译软件,主打文献翻译(a translate app for ubuntu/linux),使用Gtk3开发,python语言;国内看这里:https://gitee.com/yuhldr/ldr-translate
Stars: ✭ 30 (-92.81%)
Mutual labels:  translate
Typescript Kr.github.io
🇰🇷 TypeScript Handbook in Korean
Stars: ✭ 364 (-12.71%)
Mutual labels:  translate
MrTranslator
📘MrTranslator-A Translation Android APP
Stars: ✭ 16 (-96.16%)
Mutual labels:  translate
Ydict
Yet another command-line youdao dictionary for geeks!
Stars: ✭ 318 (-23.74%)
Mutual labels:  translate
react-text-translator
An experimental way to translate text inside React components with context
Stars: ✭ 15 (-96.4%)
Mutual labels:  translate
linguist
Linguist is a powerful browser extension for translate pages and text, which are ready to replace your favorite translate service
Stars: ✭ 21 (-94.96%)
Mutual labels:  translate
bing-translate-api
A simple and free API for Bing Translator for Node.js
Stars: ✭ 37 (-91.13%)
Mutual labels:  translate
baidu-translate-api
A free and unlimited API for Baidu Translate
Stars: ✭ 44 (-89.45%)
Mutual labels:  translate
Angular L10n
An Angular library to translate texts, dates and numbers
Stars: ✭ 350 (-16.07%)
Mutual labels:  translate
Cpp-Translate
A c++ project for translating c++ in many languages (including std) (it is a joke)
Stars: ✭ 38 (-90.89%)
Mutual labels:  translate
TranslateAPI
Simple Java library to translate your text using Google Translate without using of API KEY
Stars: ✭ 51 (-87.77%)
Mutual labels:  translate
Polyglot
🌏 The missing Safari extension that translates selected text into your native language.
Stars: ✭ 387 (-7.19%)
Mutual labels:  translate
Google Translate
翻译工具 支持网页翻译和文本翻译
Stars: ✭ 356 (-14.63%)
Mutual labels:  translate
Translators
🌏🌍🌎Translators🌎🌍🌏 is a library which aims to bring free, multiple, enjoyable translation to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。
Stars: ✭ 295 (-29.26%)
Mutual labels:  translate

Google Cloud Platform logo

The Cloud Translation API, can dynamically translate text between thousands of language pairs. The Cloud Translation API lets websites and programs integrate with the translation service programmatically. The Cloud Translation API is part of the larger Cloud Machine Learning API family.

release level npm version codecov

Cloud Translation API Client Library for Node.js

A comprehensive list of changes in each version may be found in the CHANGELOG.

Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.

Table of contents:

Quickstart

Before you begin

  1. Select or create a Cloud Platform project.
  2. Enable billing for your project.
  3. Enable the Cloud Translation API.
  4. Set up authentication with a service account so you can access the API from your local workstation.

Installing the client library

npm install @google-cloud/translate

Using the client library

/**
 * TODO(developer): Uncomment the following line before running the sample.
 */
// const projectId = 'YOUR_PROJECT_ID';

// Imports the Google Cloud client library
const {Translate} = require('@google-cloud/translate').v2;

// Instantiates a client
const translate = new Translate({projectId});

async function quickStart() {
  // The text to translate
  const text = 'Hello, world!';

  // The target language
  const target = 'ru';

  // Translates some text into Russian
  const [translation] = await translate.translate(text, target);
  console.log(`Text: ${text}`);
  console.log(`Translation: ${translation}`);
}

quickStart();

Samples

Samples are in the samples/ directory. Each sample's README.md has instructions for running its sample.

Sample Source Code Try it
Hybrid Glossaries source code Open in Cloud Shell
Quickstart source code Open in Cloud Shell
Translate source code Open in Cloud Shell

The Cloud Translation Node.js Client API Reference documentation also contains samples.

Supported Node.js Versions

Our client libraries follow the Node.js release schedule. Libraries are compatible with all current active and maintenance versions of Node.js.

Client libraries targeting some end-of-life versions of Node.js are available, and can be installed via npm dist-tags. The dist-tags follow the naming convention legacy-(version).

Legacy Node.js versions are supported as a best effort:

  • Legacy versions will not be tested in continuous integration.
  • Some security patches may not be able to be backported.
  • Dependencies will not be kept up-to-date, and features will not be backported.

Legacy tags available

  • legacy-8: install client libraries from this dist-tag for versions compatible with Node.js 8.

Versioning

This library follows Semantic Versioning.

This library is considered to be General Availability (GA). This means it is stable; the code surface will not change in backwards-incompatible ways unless absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against GA libraries are addressed with the highest priority.

More Information: Google Cloud Platform Launch Stages

Contributing

Contributions welcome! See the Contributing Guide.

Please note that this README.md, the samples/README.md, and a variety of configuration files in this repository (including .nycrc and tsconfig.json) are generated from a central template. To edit one of these files, make an edit to its template in this directory.

License

Apache Version 2.0

See LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].