Skip to main content

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:

$ ikazuchi pofile examples/short_test.po
msgid:                   ikazuchi translation
reference(Google):       [Actually, translated sentence]
Input:

Show which plugins are available:

$ ikazuchi -h
usage: ikazuchi [-h] {rstfile,pofile,normal} ...

positional arguments:
  {rstfile,pofile,normal}
                        available plugins. 'normal' means ikazuchi's standard
                        feature so it can be abbreviated

optional arguments:
  -h, --help            show this help message and exit

Show pofile plugin help:

$ ikazuchi pofile -h
usage: ikazuchi pofile [-h] [-a API] [-e ENCODING] [-f LANG] [-q] [-t LANG]
                       [--version]
                       po_file

positional arguments:
  po_file               target po file

optional arguments:
  -h, --help            show this help message and exit
  -a API, --api API     APIs are ['google', 'microsoft']
  -e ENCODING, --encoding ENCODING
                        input/output encoding
  -f LANG, --from LANG  original language
  -q, --quiet           not to show original sentence to stdout
  -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.1 or later

  • polib 0.5.5 or later

  • setuptools or distriubte

License

Apache License 2.0

History

0.1.2 (2011-11-26)

  • use Microsoft Translator as Default API

0.1.1 (2011-06-06)

  • add subparser for pofile plug-in

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

Metadata

Release files for ikazuchi.plugins.pofile 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ikazuchi.plugins.pofile 0.1.2
File Size Uploaded Provenance Actions
ikazuchi.plugins.pofile-0.1.2.tar.bz2 12.9 kB Without provenance Details for ikazuchi.plugins.pofile-0.1.2.tar.bz2

Release files / ikazuchi.plugins.pofile-0.1.2.tar.bz2

Download URL ikazuchi.plugins.pofile-0.1.2.tar.bz2
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d2ad9eaf7f57c7c14fbafdbd02b066ecf1767b0796ee0887b357441c1ba05c9d
BLAKE2b-256 checksum
How to use checksums
1d556540c525d4729b275a5623bc315a94ee5defb8e3483b507df327c48b8aff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ikazuchi.plugins.pofile 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page