Gettext related tools: spellcheck, line wrapping etc...


Keywords
poutils, gettext, powrap, pospell, pogrep, potodo, pomerge, padpo
License
MIT
Install
pip install poutils==0.15.4

Documentation

poutils

poutils is a metapackage to easily install usefull Python tools to use with po files.

powrap

Script to fix indentation of given .po files.

pospell

Wrapper around hunspell to spell check .po files.

pogrep

A side-by-side grep in .po files displaying msgid on the left and msgstr on the right, usefull to find how a word has already been translated.

potodo

A tool to find in which .po file work is needed (untranslated and fuzzy are reported).

Can sync with github issues to tell which file have already an issue opened, hint that the file may currently been translated by someone else.

pomerge

A "translation memory" CLI tool, usefull for example to backport translation from a branch to another, or simply to replicate known translations from a bunch of file to other files.

padpo

Linter for gettext files (*.po) including Grammalecte, non-breakable space checks, glossary checks etc ...

sphinx-lint

A reasonably fast and accurate linter that focuses on finding errors that are not caught by sphinx-build.