Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

This is a simple, yet powerful command line translator with google translate behind it. You can also use it as a Python module in your code.

Project Description

Google translate as Python module & command line tool. No key, no authentication whatsoever. The default target language is Simplified Chinese.

利用google translate实现的命令行工具(translate),也可以当做Python模块用在你的代码中。

## Installation

<pre> pip install translate </pre>

Or, you can download the source and

<pre> python install </pre>

Add sudo in the beginning if you met problem.

## Command-Line Usage

In your command-line:

<pre> translate “This is a pen.” </pre>


<pre> translate -f zh -t ja 我是谁? </pre>

## Use As A Python Module

<pre> from translate import Translator translator= Translator(to_lang=”zh”) translation = translator.translate(“This is a pen.”) </pre>

The result is in translation, and it’s usually a unicode string.

Release History

Release History

History Node


History Node


History Node


History Node


History Node


History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
translate-0.0.5.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Mar 21, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting