pofilter(1)
β¨ pofilter β the vibe check for your localization files β¨
okay bestie, welcome to pofilter(1) π this is the Translate Toolkit 3.19.5 girlie whose whole job is running quality checks on your Gettext PO, XLIFF and TMX localization files. she's not mean, she's just honest. π
πΈ NAME πΈ
pofilter β perform quality checks on Gettext PO, XLIFF and TMX localization files.
π¦ SYNOPSIS π¦
pofilter [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-l|--listfilters] [--review] [--noreview]
[--fuzzy] [--nofuzzy] [--nonotes] [--autocorrect] [--language LANG]
[--openoffice] [--libreoffice] [--mozilla] [--drupal] [--gnome] [--kde]
[--wx] [--excludefilter FILTER] [-t|--test FILTER] [--notranslatefile
FILE] [--musttranslatefile FILE] [--validcharsfile FILE]
π DESCRIPTION π
So here's the tea β every single time a test fails, pofilter makes a snippet file. no cap. those snippets are like little screenshots of the problem β you can look at them π, fix them up βοΈ, and then merge them back into the originals using pomerge. it's giving "cleanup era." π§Ήβ¨
want examples and usage instructions? the docs have you covered: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pofilter.html
want the full description of literally every test it can run? also covered: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pofilter_tests.html
iykyk π
π OPTIONS π
--versionβ shows the program's version number and then dips out. bye bestie π-h/--helpβ prints this help message and exits. the classic "help me help you" moment π«Ά--manpageβ spits out a manpage based on the help output. meta, honestly π«--progressβ how do you want your progress shown? your choices are:dots,none,bar,names,verbose. pick your aesthetic π--errorlevelβ how do you want your errors shown? your choices are:none,message,exception,traceback. choose your level of drama π-i/--inputβ read from INPUT inpo,pot,tmx,xlf,xliffformats. that's the source material, bestie π₯-x/--excludeβ exclude names matching EXCLUDE from the input paths. not everything deserves an invite to the party π ββοΈ-o/--outputβ write to OUTPUT inpo,pot,tmx,xlf,xliffformats. this is where the receipts go π§Ύβ¨-l/--listfiltersβ lists the filters that are available. window shopping, but for checks ποΈ--reviewβ include units marked for review. this one is the default, so it's already the main character π--noreviewβ exclude units marked for review. ghosting them, respectfully π»--fuzzyβ include units marked fuzzy. also the default π» (fuzzy wuzzy bear, iconic)--nofuzzyβ exclude units marked fuzzy. fuzzy units, you are NOT coming π«--nonotesβ don't add notes about the errors. just the drama, no commentary π--autocorrectβ where possible, output automatic corrections instead of describing the issues. she doesn't just point, she fixes π β¨--languageβ set the target language code (e.g.af-ZA). required for spell check, and recommended in general, fr fr π--openofficeβ use the standard checks for OpenOffice translations π--libreofficeβ use the standard checks for LibreOffice translations π--mozillaβ use the standard checks for Mozilla translations π¦--drupalβ use the standard checks for Drupal translations π§--gnomeβ use the standard checks for Gnome translations πΎ--kdeβ use the standard checks for KDE translations π₯οΈ--wxβ use the standard checks for wxWidgets translations π§©--excludefilterβ don't use FILTER when filtering. sit this one out, filter πͺ-t/--testβ only use the test *FILTER*s specified with this option when filtering. it's giving "curated guest list" ποΈ--notranslatefileβ read a list of untranslatable words from FILE. these ones must not be translated π«π€--musttranslatefileβ read a list of translatable words from FILE. these ones must be translated β π€--validcharsfileβ read a list of all valid characters from FILE. it must be in UTF-8, no exceptions bestie π
ngl, this girl is running on Translate Toolkit 3.19.5 π«Ά go run your checks, fix your snippets, merge them back with pomerge, and remember: every failed filter is just the universe telling you to level up. slay π
β¨π
π¦ where this page comes from
- ubuntu stonking: translate-toolkit 3.19.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms