Handle PO file with ikazuchi to translate msgid
Project description
ikazuchi.plugins.pofile is plugin for ikazuchi to transalte PO file with good reference.
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
Setup
by easy_install
Make environment:
$ easy_install ikazuchi.plugins.pofile
by buildout
Make environment:
$ hg clone https://bitbucket.org/t2y/ikazuchi.plugins.pofile $ cd ikazuchi.plugins.pofile $ python bootstrap.py -d $ bin/buildout
Usage
Translate PO file with ikazuchi command:
$ ./bin/ikazuchi -p pofile examples/short_test.po msgid: ikazuchi translation reference(Google): [Actually, translated sentence] Input:
All command option are:
$ ikazuchi -h usage: ikazuchi [-h] [-a API] [-d] [-e ENCODING] [-f LANG] [-l] [-p PLUGIN [PLUGIN ...]] [-q] [-s SENTENCE [SENTENCE ...]] [-t LANG] [--version] optional arguments: -h, --help show this help message and exit -a API, --api API APIs are ['google', 'microsoft'] -d, --detect detect language for target sentence -e ENCODING, --encoding ENCODING input/output encoding -f LANG, --from LANG original language -l, --languages show supported languages -p PLUGIN [PLUGIN ...], --plugin PLUGIN [PLUGIN ...] extend with plugin, show available plugins using "help" -q, --quiet not to show original sentence to stdout -s SENTENCE [SENTENCE ...], --sentences SENTENCE [SENTENCE ...] target sentences -t LANG, --to LANG target language to translate --version show program's version number and exit
Requirements
Python 2.6 or later
ikazuchi 0.5.0 or later
polib 0.5.5 or later
setuptools or distriubte
License
Apache License 2.0
History
0.1.0 (2011-06-03)
first release
Todos
Functionals
Glossary and fuzzy match functions
Merge other po file into po file
Stop translating process
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ikazuchi.plugins.pofile-0.1.0.tar.bz2
Algorithm | Hash digest | |
---|---|---|
SHA256 | 200e11573c5d4558d67e0c9573ddfac3c77bca9178d4477ad838ddc94225a0b5 |
|
MD5 | 79888da9fba3990f0016f713c604d64b |
|
BLAKE2b-256 | 660802928c3e97307960e901254cb7010b8cc9fd52065f55855b7cd65d9d3cbc |
Hashes for ikazuchi.plugins.pofile-0.1.0-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95cd2616d5c03549d0d70a64b780fe828f3c510c661f1b9902f02fe6ec78ae33 |
|
MD5 | 5cc2896cbdd1c9d1fa36196474e0553c |
|
BLAKE2b-256 | 00a69be0348e6eefa6277e4539da2bdcb0b04d162dee26f18cb0db23efa986fb |