po2tiki(1)

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

✨ NAME ✨

ok so bestie, welcome to po2tiki πŸ’… β€” this is the glow-up machine that converts Gettext PO files into TikiWiki's language.php files. that's literally the whole vibe. PO in, TikiWiki out, periodt. πŸŽ€

(this little icon is part of the Translate Toolkit fam, manual page for po2tiki(1), in case you were wondering πŸ‘‘)


🌸 SYNOPSIS 🌸

po2tiki [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp]

like, that's the whole incantation πŸͺ„ β€” copy it, respect it, don't touch the flags, she's sensitive.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the manpage is very chill about this and just points you at the docs, and honestly? valid. it says:

See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/tiki2po.html for examples and usage instructions.

that's the link for examples and usage instructions, bestie β€” go read it, it's giving "the actual lore" πŸ”₯ (yes the page is called tiki2po even though this tool is po2tiki, that's just how it is, no cap πŸ™ˆ)


πŸ’– OPTIONS πŸ’–

okay this is the part where we go option by option, and there are no skips, we're doing all of them, main character energy only πŸ‘‘

  • --version β€” show the program's version number and then dip. that's it, that's the whole flag ✨
  • -h/--help β€” show this help message and exit. your classic bestie who tells you what's up 🫢
  • --manpage β€” output a manpage based on the help. meta af, love that for us πŸ’…
  • --progress β€” show progress as: dots, none, bar, names, verbose. pick your vibe β€” tiny dots, absolutely nothing, a whole bar, names, or full verbose chaos 🌈
  • --errorlevel β€” show errorlevel as: none, message, exception, traceback. same deal, choose your drama level πŸ’€
  • -i/--input β€” read from INPUT in po, pot formats. this is where you feed her πŸ“
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. not today, specific files, not today πŸ™…β€β™€οΈ
  • -o/--output β€” write to OUTPUT in tiki format. the final form, iconic πŸŽ€
  • -S/--timestamp β€” skip conversion if the output file has newer timestamp. she's lazy in the smartest way possible, ngl ⭐
heads up bestie: -i/--input wants po or pot files, and -o/--output writes tiki format β€” don't mix those up or it's gonna be a whole thing 😭

ok so that's the page!! big love to the Translate Toolkit, this bad boy is version 3.12.1, and the manual page itself is dated the same 3.12.1 energy β€” signed, sealed, delivered, slay πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from