po2ini(1)
π po2ini(1) β the translate-toolkit glow-up π
okay bestie, gather round, because this is the little command-line fairy that turns your Gettext PO files into .ini files and honestly? she ate. β¨
πΈ NAME πΈ
po2ini β converts Gettext PO localization files into .ini files. that's it, that's the whole job, and she does it FLAWLESSLY. π
π SYNOPSIS π
po2ini [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[--threshold PERCENT] [--fuzzy] [--nofuzzy]
likeβ¦ look at her. a whole lineup of flags. main character energy fr fr. π
π¦ DESCRIPTION π¦
so the actual vibe here is documented elsewhere, and I'm not gonna gatekeep the link:
See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/ini2po.html for examples and usage instructions.
(no cap, that's where the examples and usage instructions live. go read it, it's giving educational. πβ¨)
β¨ OPTIONS β¨
every single one of them, bestie, no skips, no skimming, we are doing this properly π«Ά
--versionβ show the program's version number and then dip. bye! π-h/--helpβ show this help message and exit. your emergency bestie when you forget a flag π--manpageβ output a manpage based on the help. manpage-ception. π€―--progressβ show progress as one of:dots,none,bar,names,verbose. pick your aesthetic π--errorlevelβ show errorlevel as one of:none,message,exception,traceback. how much detail do you want when things go sideways π-i/--inputβ read from INPUT inpo,potformats. this is where you point at your PO files π-x/--excludeβ exclude names matching EXCLUDE from the input paths. not today, satan π«-o/--outputβ write to OUTPUT inini,islformats. two formats, one icon π-t/--templateβ read from TEMPLATE inini,islformats. she copies the shape of the template πΈ-S/--timestampβ skip the conversion if the output file has a newer timestamp. lowkey lazy highkey efficient β--thresholdβ only convert files where the translation completion is above PERCENT. set the bar, queen π--fuzzyβ use translations marked fuzzy. yes, the fuzzy ones, we're getting them β¨--nofuzzyβ don't use translations marked fuzzy. this is the default, so if you don't say anything, fuzzy stays out of the party π
β οΈ real talk:--fuzzyand--nofuzzyare opposites, and--nofuzzyis what you get unless you say otherwise. don't fight me on this, it's literally in the manual π
π a lil sign-off π
that's the whole page, bestie. this one's from Translate Toolkit 3.19.5, and it's giving polished, it's giving documented, it's givingβ¦ a manpage that finally makes sense. go forth and convert. πβ¨π¦πΈ
π¦ 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