po2php(1)

πŸ“¦ version 3.12.1, in opensuse-leap 16.0

🌸 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 β€” takes PROGRESS; show progress as: dots, none, bar, names, verbose. pick your vibe check. ✨
  • --errorlevel β€” takes ERRORLEVEL; show errorlevel as: none, message, exception, traceback. choose how loud the drama gets. πŸ’…
  • -i/--input β€” read from INPUT in po, pot formats. come through with your source files, bestie. πŸŽ€
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. not invited, not included, bye. πŸ™ˆ
  • -o/--output β€” write to OUTPUT in html, php formats. the glow-up destination. πŸ¦‹
  • -t/--template β€” read from TEMPLATE in html, php formats. 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 above PERCENT. 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