Skip to main content

translate tool support(google)

Project description

avatar
translate utils support google

[introduction]

  • support version: python 3.0+

down install

  • pip install:
pip install translate-util

DEMO

    from translate_util.translate_tool import translate_other2cn,translate_other2en,translate_text

    # translate other language to chinese (default use google)
    print(translate_other2cn('china'))

    # translate other language to english (default use google)
    print(translate_other2en('中国'))

    # translate other language to de ,support any language
    # tl demo: zh-CN/de/fr/en/it/es
    print(translate_text('china', tl='de'))

OTHER SUPPORT

any customization demand,contact me with email

Project details


Download files

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

Source Distribution

translate_util-1.1.4.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

translate_util-1.1.4-py3-none-any.whl (10.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page