po2mozlang(1)
π po2mozlang β the glow-up translator π
okay bestie, so po2mozlang is a lil command-line icon from the Translate Toolkit squad (we're on version 3.19.5, noted π) and what it does is literally take your Gettext PO localization files and convert them into Mozilla .lang files. that's it, that's the job. no cap. π¦
β¨ SYNOPSIS β¨
like, here's how you call her:
po2mozlang [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp] [--mark-
active] [--threshold PERCENT] [--fuzzy] [--nofuzzy]
she's giving "one command, whole lotta options" energy and honestly? obsessed. π
πΈ OPTIONS πΈ
every single flag, present and accounted for, no skipping, fr fr:
--versionβ spill the program's version number and then dip out. exit. bye. π-h/--helpβ show this help message and then exit, for when you're like "wait what"--manpageβ spit out a manpage built from the help. meta, honestly. π--progressβ show progress as one of:dots,none,bar,names,verbose. pick your vibe β¨--errorlevelβ show errorlevel as one of:none,message,exception,traceback. choose how much drama you want when things go sideways π-i/--inputβ read from INPUT inpo,potformats. this is the source material bestie π₯-x/--excludeβ exclude names matching EXCLUDE from the input paths. not everything gets an invite to the party π-o/--outputβ write to OUTPUT inlangformat. the main character of destinations π-t/--templateβ read from TEMPLATE inlangformat. use this when you want the output shaped by an existing.langbestie π§-S/--timestampβ skip the conversion if the output file already has a newer timestamp. lowkey smart, saves you work β--mark-activeβ mark the file as active. she's online, she's live, she's active π--thresholdβ only convert files where the translation completion is above PERCENT. perfectionism but make it a flag π₯--fuzzyβ use translations that are marked fuzzy--nofuzzyβ don't use translations marked fuzzy. this one is the default, bestie, so if you say nothing, fuzzy translations stay uninvited π«Ά
heads up queen:--nofuzzyis the default behaviour. if you want the fuzzy ones in, you have to actually ask with--fuzzy.
π a lil sign-off π
that's the whole page, babes β brought to you by Translate Toolkit 3.19.5, the version in the corner of every page of this manual, and stamped with the manpage date that lives in that footer line right down there. go convert something gorgeous. periodt. π β¨π
π¦ 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