Go client library

Stay organized with collections Save and categorize content based on your preferences.

This page provides reference documentation and related resources for the Translation Go client library.

Resource Description
Library reference Translation Go library reference
Language guide General guide for using Go with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Translation and Go


To install the client library:

go get cloud.google.com/go/translate

Using the client library

To use the Go client library for Cloud Translation - Basic, you must import the Cloud Translation API client library as follows:

import "cloud.google.com/go/translate"

See how to translate text for additional usage details.