Skip to main content

ikazuchi helps to translate document using web translate APIs efficiently

Project description

ikazuchi helps to translate document using web translate APIs efficiently. ikazuchi is intended to work with other tools since it’s a CUI tool.

See the project documentation for more detail.

Features

  • Translate GNU gettext catalog named PO file with good reference from web API

  • Translate any string passed from command line argument

  • Translate any string in Vim using “:pyfile” command

Setup

by easy_install

Make environment:

$ easy_install ikazuchi

by buildout

Make environment:

$ hg clone https://t2y@bitbucket.org/t2y/ikazuchi
$ cd ikazuchi
$ python bootstrap.py
$ bin/buildout

Usage

Execute ikazuchi command:

$ ikazuchi -s "i can translate"
sentence:           i can translate
translated(Google): 私は翻訳することができます

All command option are:

$ ikazuchi -h
Usage: ikazuchi [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -a API, --api=API     APIs are ['all', 'google', 'microsoft', 'yahoo'],
                        cannot use with '-p po_file'option
  -f LANG, --from=LANG  original language
  -t LANG, --to=LANG    target language to translate
  -p POFILE, --pofile=POFILE
                        target po file
  -s SENTENCE, --sentence=SENTENCE
                        target sentence
  -e ENCODING, --encoding=ENCODING
                        input/output encoding
  -q, --quiet           not to show original sentence to stdout
  -v, --verbose         show debug messages to stdout

Requirements

  • Python 2.6 or later

  • polib 0.5.5 or later

  • setuptools or distriubte.

License

Python Software Foundation License.

History

0.2.0 (2011-02-07)

  • add -q(quiet) and -e(encoding) option

0.1.0 (2011-01-22)

  • first release

Todos

Functionals

  • Glossary and fuzzy match functions

  • Merge other po file into po file

  • Shortcut key

  • Stop translating process

Known Issues

  • No error handling

  • Fail to run in virtualenv

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

ikazuchi-0.2.0.tar.bz2 (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ikazuchi-0.2.0-py2.6.egg (25.3 kB view details)

Uploaded Egg

File details

Details for the file ikazuchi-0.2.0.tar.bz2.

File metadata

  • Download URL: ikazuchi-0.2.0.tar.bz2
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ikazuchi-0.2.0.tar.bz2
Algorithm Hash digest
SHA256 15a0e45ee1d2707e0b231af200bd1d5266f0c3d6b563c33f0f18c36a0f6f2067
MD5 2ffd751ea1491443c327b3b46bfdc63a
BLAKE2b-256 b31866ac881f773b0c6b5fe02bed02145787694875a20283b88cee49da807b6e

See more details on using hashes here.

File details

Details for the file ikazuchi-0.2.0-py2.6.egg.

File metadata

  • Download URL: ikazuchi-0.2.0-py2.6.egg
  • Upload date:
  • Size: 25.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ikazuchi-0.2.0-py2.6.egg
Algorithm Hash digest
SHA256 10a08708b09cbc18f16abe597f5660ade3013d7a669c6103cb93bd0c6f4e9df4
MD5 f4fee4b206040690c1e13d302040e214
BLAKE2b-256 a43fc21ffaf0b2f752ca30fdda2d00c5a37112546ccc8ff0328555353cda9dd5

See more details on using hashes here.

Supported by

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