[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["| **Note:** Google provides a single version of the Cloud Translation API client library for Node.js for both Cloud Translation - Advanced and Cloud Translation - Basic. This page describes how to use the client library for Cloud Translation - Advanced. To use the client library for Cloud Translation - Basic, see the [installation instructions](/translate/docs/reference/libraries/v2/nodejs).\n\n\nThis page provides reference documentation and related resources for the\nCloud Translation Node.js client library.\n\n| Resource | Description |\n|------------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [Library reference](https://googleapis.dev/nodejs/translate/latest/index.html) | Cloud Translation Node.js library reference |\n| [Language guide](https://cloud.google.com/nodejs/docs/) | General guide for using Node.js with GCP |\n| [GitHub repository](https://github.com/googleapis/nodejs-translate) | Source code and additional documentation for this library |\n| [Quickstart](/translate/docs/advanced/translate-text-advance) | Introduction to using this library |\n| [Stack Overflow](http://stackoverflow.com/search?q=%5Bgoogle-translate%5D+%5Bnode.js%5D) | Questions tagged with Cloud Translation and Node.js |\n\nInstallation\n\n\nTo install the client library:\n\n\nFor more on setting up your Node.js development environment, refer to the\n[Node.js Development Environment Setup Guide](/nodejs/docs/setup).\n\n```\nnpm install @google-cloud/translate\n```\n\nUsing the client library\n\nTo use the Node.js client library for Cloud Translation - Advanced, you must\ninstantiate the Cloud Translation API client as follows: \n\n```javascript\nconst {TranslationServiceClient} = require('https://cloud.google.com/nodejs/docs/reference/translate/latest/overview.html');\n```\n\nSee how to\n[translate text](/translate/docs/advanced/translating-text-v3#translating_text)\nfor additional usage details."]]