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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for ikazuchi-0.1.0.tar.bz2
Algorithm Hash digest
SHA256 2c8a06c6f568d75d6cfec5d4e6e3fbdb895d7ec566fb0cc032d1035ea8bc55c1
MD5 1bbafc1dc838b5a70153c0d5510c3448
BLAKE2b-256 c4272c49b93c5fe8a7024a55d8f6edf97b282752ccfa43ad6748a760f57797da

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ikazuchi-0.1.0-py2.6.egg
Algorithm Hash digest
SHA256 c500a6cd2026563a05d1627c219824308d20c705a72a5a3e7374b1adc574fae2
MD5 4db853ac53475d828e23f733d060633a
BLAKE2b-256 6b6e45aab8ef65f1ed01a5b58885ccc599b4568c8e946f7d2c8ebf1c9bea9a26

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