ikazuchi.plugins.pofile 0.1.2

Handle PO file with ikazuchi to translate msgid

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in ikazuchi.plugins.pofile 0.1.2:

  • use Microsoft Translator as Default API
Read full changelog
send us
an update
LICENSE TYPE:
The Apache License 2.0 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Tetsuya Morimoto
HOMEPAGE:
t2y.bitbucket.org
CATEGORY:
ROOT \ Programming \ Internationalization
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.

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

Last updated on November 29th, 2011

feature list requirements

#translate msgid #PO handler #ikazuchi #msgid #translator #PO

Add your review!

SUBMIT