All Projects → ultrafunkamsterdam → googletranslate

ultrafunkamsterdam / googletranslate

Licence: other
Python Google Translate (using reverse-engineered public API, so free)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to googletranslate

po-auto-translation
translate PO files automatically for FREE using google translate
Stars: ✭ 33 (-50.75%)
Mutual labels:  translate
hal stm32
No description or website provided.
Stars: ✭ 56 (-16.42%)
Mutual labels:  module
WebinoImageThumb
✂️ Webino™ Image thumbnailer for Zend Framework [LTS] http://webino.github.io/WebinoImageThumb
Stars: ✭ 40 (-40.3%)
Mutual labels:  module
pdx-ymltranslator
Paradox Interactive YML Translator
Stars: ✭ 18 (-73.13%)
Mutual labels:  translate
ReDe
A Redis dehydrator module
Stars: ✭ 63 (-5.97%)
Mutual labels:  module
semver-cli
semver-cli is a simple command line tool to compare and manipulate version strings.
Stars: ✭ 28 (-58.21%)
Mutual labels:  commandline
todo-cli
✅ Command-line tool to manage Todo lists
Stars: ✭ 88 (+31.34%)
Mutual labels:  commandline
ui patterns
[NOTE] Development has moved to https://drupal.org/project/ui_patterns
Stars: ✭ 87 (+29.85%)
Mutual labels:  module
Thread
type safe multi-threading made easier
Stars: ✭ 34 (-49.25%)
Mutual labels:  module
sogou-translate
The Python wrapper for Sogou Translate API.
Stars: ✭ 38 (-43.28%)
Mutual labels:  translate
create-require
Polyfill for Node.js module.createRequire (<= v12.2.0)
Stars: ✭ 24 (-64.18%)
Mutual labels:  module
AlfredWorkflow YoudaoTranslate
alfred workflow,有道翻译
Stars: ✭ 20 (-70.15%)
Mutual labels:  translate
terminal-translate
a terminal-translate tool
Stars: ✭ 73 (+8.96%)
Mutual labels:  translate
Stripe-Payment-For-Opencart-3.x
Stripe payment module for opencart 3.x
Stars: ✭ 29 (-56.72%)
Mutual labels:  module
learnrxjs
Русскоязычная документация RxJS
Stars: ✭ 20 (-70.15%)
Mutual labels:  translate
pypapago
🐧[Archived][Unofficial] Python wrapper for Papago translation service
Stars: ✭ 45 (-32.84%)
Mutual labels:  translate
react-watermark-module
React水印组件,支持图片水印,文字水印。
Stars: ✭ 31 (-53.73%)
Mutual labels:  module
nuxt-brotli
Nuxt.js module which compresses assets with Brotli compression algorithm using `iltorb` library for serving it with `ngx_brotli`
Stars: ✭ 19 (-71.64%)
Mutual labels:  module
puppetlabs-dism
No description or website provided.
Stars: ✭ 19 (-71.64%)
Mutual labels:  module
ark.db
Small and fast JSON database for Node and browser. 😋
Stars: ✭ 65 (-2.99%)
Mutual labels:  module

 ████████╗██████╗  █████╗ ███╗   ██╗███████╗██╗      █████╗ ████████╗███████╗
 ╚══██╔══╝██╔══██╗██╔══██╗████╗  ██║██╔════╝██║     ██╔══██╗╚══██╔══╝██╔════╝
    ██║   ██████╔╝███████║██╔██╗ ██║███████╗██║     ███████║   ██║   █████╗
    ██║   ██╔══██╗██╔══██║██║╚██╗██║╚════██║██║     ██╔══██║   ██║   ██╔══╝
    ██║   ██║  ██║██║  ██║██║ ╚████║███████║███████╗██║  ██║   ██║   ███████╗
    ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚══════╝╚═╝  ╚═╝   ╚═╝   ╚══════╝

UltrafunkAmsterdam

Google translate "without" limits and without API key

installation

pip3 install git+https://github.com/ultrafunkamsterdam/googletranslate

usage:

 
>>>from googletranslate import translate

>>> translate( 'Have fun using this!', 'nl')
'Veel plezier ermee!'

# you could also explicitly specify source and/or destination language.
>>> translate( 'have fun using this', dest='nl',  src='en' )

>>> translate( 'Have fun using this!', 'fr')
'Amusez-vous en utilisant cela!'

>>> translate( 'Have fun using this!', 'de', 'en')
'Viel Spaß damit!'


# usage variation 1

>>> from googletranslate import Translator
>>> to_japanese = Translator('ja')
>>> print('lets do something japanese...', to_japanese('Good afternoon!'))
lets do something japanese... こんにちは!


# usage variation 2 : translate files

>>> from googletranslate import Translator
>>> translator = Translator('es')
>>> with open(somedocument.txt, 'r') as infile, open(somespanishdocument.txt, 'w+') as outfile:
        # i recommend writing a custom function which translates bigger chunks to minimize the amount of api calls.
        for line in infile:
            outfile.write(translator(line))
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].