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
  -v, --verbose         print debug messages to stdout

Requirements

  • Python 2.6 or later (not tested 3.x)

  • polib 0.5.5 or later

  • setuptools or distriubte.

License

Python Software Foundation License.

History

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

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.1.0.tar.bz2 (10.9 kB view hashes)

Uploaded Source

Built Distribution

ikazuchi-0.1.0-py2.6.egg (23.1 kB view hashes)

Uploaded Source

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