Skip to main content

Autofill po files with automated translations.

Project description

https://img.shields.io/pypi/v/poautofill.svg

Script to automatically translate a given po file. It currently only uses https://deepl.com but should be extended to use other sources.

It only translates empty translations, and mark them as fuzzy so you can easily spot them for mandatory review.

This project is not aimed to automatically translate files for use in production, more to give some material for translators while translating offline, like missing vocabulary.

Usage:

poautofill any_file.po
# processes any_file.po

poautofill -h
# displays help
  • Free software: MIT license

Contributing

Don’t forget to test locally:

$ pip install -e .[dev]
$ detox

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

poautofill-0.1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

poautofill-0.1.3-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file poautofill-0.1.3.tar.gz.

File metadata

  • Download URL: poautofill-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for poautofill-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3eeb3a26d3f911cb43c8f4cebeab991ea613a39d01fba085ad1e4ec20fc955ef
MD5 141a5129ff25f214e5a6496d77486d89
BLAKE2b-256 9a484052bf75e93181b3aef6c3357b42bc47291572a5fe21579fdb31b62a8239

See more details on using hashes here.

Provenance

File details

Details for the file poautofill-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: poautofill-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for poautofill-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 549a52689f95503f340a38e83e45c57d45b9bfdb0df509c0a5eec07c8a881b51
MD5 ce1759c8063b8016de1ae9fda9894d93
BLAKE2b-256 11b21c65b1f718b530189aa244e9b3d535bac9680b1e9c0d53e066d6e6ea3484

See more details on using hashes here.

Provenance

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