po2php(1)
πΈ NAME πΈ
okay bestie, this is po2php β Convert Gettext PO localization files to PHP localization files. π This is the po2php(1) manual from Translate Toolkit 3.12.1, folded in near the top like a little name tag instead of copied as a header line, because we're doing this cute. She takes Gettext PO localization files and turns them into PHP localization files. slay. π
β SYNOPSIS β
po2php [--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]
π¦ DESCRIPTION π¦
okay so the page itself is short and sweet: for examples and usage instructions, see: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/php2po.html β that's the link, bestie, no cap. π«Ά And yes, it says php2po.html, not po2php, so don't come for me, I'm literally just reading the page. β¨
π OPTIONS π
--versionβ show program's version number and exit. iconic little flex, then she's out. π-h/--helpβ show this help message and exit. your built-in hype doc, fr fr. π«Ά--manpageβ output a manpage based on the help. meta much? but yes. π--progressβ takesPROGRESS; show progress as:dots,none,bar,names,verbose. pick your vibe check. β¨--errorlevelβ takesERRORLEVEL; show errorlevel as:none,message,exception,traceback. choose how loud the drama gets. π-i/--inputβ read fromINPUTinpo,potformats. come through with your source files, bestie. π-x/--excludeβ exclude names matchingEXCLUDEfrom input paths. not invited, not included, bye. π-o/--outputβ write toOUTPUTinhtml,phpformats. the glow-up destination. π¦-t/--templateβ read fromTEMPLATEinhtml,phpformats. the blueprint bestie. πΈ-S/--timestampβ skip conversion if the output file has newer timestamp. if the output is already fresher, she's not doing extra work, periodt. π--thresholdβ only convert files where the translation completion is abovePERCENT. if it's under, she's not touching it, iykyk. π₯--fuzzyβ use translations marked fuzzy. yes, the fuzzy ones get to stay. π§--nofuzzyβ don't use translations marked fuzzy (default). the default, bestie β so fuzzy translations are out unless you say otherwise. π
note: --nofuzzy is the default, iykyk. π«Ά
cute sign-off: source/version is Translate Toolkit 3.12.1, manual is po2php(1), and the footer doesn't hand me a date, so I'm not inventing one β that's the whole footer vibe, bestie. π
π¦ where this page comes from
- opensuse-leap 16.0: python313-translate-toolkit 3.12.1-bp160.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms