tiki2po(1)

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

πŸ’… tiki2po(1) β€” the Translate Toolkit one, bestie

okay so real talk, this is the manual page for tiki2po, and it ships with Translate Toolkit 3.12.1 ✨ like that's the whole vibe of this page, she's a toolkit girly through and through πŸŽ€


🌸 NAME 🌸

tiki2po β€” literally converts TikiWiki's language.php files into Gettext PO localization files πŸ’– that's it, that's the whole job, and she does it gorgeously.


✨ SYNOPSIS ✨

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

like yes, that's a lot of brackets, no she's not sorry, she's iconic πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the actual docs live here and you should lowkey go read them for the examples and usage instructions:

http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/tiki2po.html

(break the line however your terminal feels, it's one URL, we're not doing anything weird with it 🫢)


πŸ‘‘ OPTIONS πŸ‘‘

πŸ“ the essentials

  • --version β€” shows the program's version number and then dips, exit stage left πŸ’€
  • -h/--help β€” prints this help message and bounces, classic
  • --manpage β€” outputs a manpage based on the help, yes, very meta, we love a self-aware queen πŸ‘‘

🌈 the output-vibes options

  • --progress β€” shows progress as: dots, none, bar, names, verbose ✨ pick your fighter
  • --errorlevel β€” shows errorlevel as: none, message, exception, traceback β€” how much detail you want when things go sideways, choose your drama level 🫢
  • -S/--timestamp β€” skips the conversion if the output file has a newer timestamp, so she doesn't do work she doesn't need to do. main character efficiency πŸ’…

🌸 the input/output girlies

  • -i/--input β€” reads from INPUT in php format
  • -x/--exclude β€” excludes names matching EXCLUDE from input paths, so you can be like "not u bestie" to specific files πŸ™ˆ
  • -o/--output β€” writes to OUTPUT in po, pot formats
  • --include-unused β€” includes strings in the unused section πŸ‘€ yes she'll bring the unused ones along too, they're coming, they're part of the friend group now

⭐ friendly reminder: -i/--input and -o/--output are straight-up required in the synopsis, so like… don't forget them, that's the whole conversion 😭

🧚 sign-off 🧚

and that's the page!! this whole thing is brought to you by Translate Toolkit 3.12.1 πŸ’œ the version stamped at the top and the bottom, no cap, fr fr. go forth and convert your language.php files, you're gonna slay πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from