po2ts(1)

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

πŸ’… po2ts β€” like, the whole manual, but make it make sense πŸ’…

Hey bestie, welcome to po2ts(1), a tiny little icon from the Translate Toolkit era that takes your Gettext PO files and turns them into Qt Linguist .ts files. No cap, it's a whole glow-up for your translations. πŸ¦‹


✨ NAME ✨

po2ts β€” converts Gettext PO localization files into Qt Linguist (.ts) files. That's it, that's the whole job, and she does it slayfully. πŸ’–


🌸 SYNOPSIS 🌸

po2ts [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-c|--context]

That's the whole vibe check right there β€” copy it, paste it, and let her cook. πŸŽ€


🧚 DESCRIPTION 🧚

Okay so real talk: if you want the actual examples and usage instructions (not just the vibes), the manual points you here, and I'm keeping the link exactly as it is because it's important:

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

Go read it, bestie. It's giving "required reading before the group project." πŸ“šβœ¨


πŸ‘‘ OPTIONS πŸ‘‘

Here's every single flag, no skipping, no "I'll just skim," we're doing this properly. πŸ’…

  • --version β€” shows the program's version number, then dips. Super quick, super iconic. 🫢
  • -h/--help β€” shows this help message, then exits. Your safety net when you're like "wait what does anything do." 😭
  • --manpage β€” outputs a manpage built from the help. Manpage-ception, honestly. πŸ”₯
  • --progress β€” shows progress as any of: dots, none, bar, names, verbose. Pick your fave, choose your own adventure. ⭐
  • --errorlevel β€” shows errorlevel as any of: none, message, exception, traceback. Like a spice level but for how much error detail you can handle. 🌢️
  • -i/--input β€” reads from INPUT in po, pot formats. Your source material, main character energy. πŸ’œ
  • -x/--exclude β€” excludes names matching EXCLUDE from the input paths. Boundaries! We love boundaries! πŸ™ˆ
  • -o/--output β€” writes to OUTPUT in ts format. The final look, the reveal, the whole moment. ✨
  • -t/--template β€” reads from TEMPLATE in ts format. A lil mood board to work from. πŸŽ€
  • -S/--timestamp β€” skips conversion if the output file has a newer timestamp. She's efficient, she's not doing unnecessary work, we stan. πŸ’€
  • -c/--context β€” uses the supplied context instead of the one in the .po file comment. Override queen behavior, honestly. πŸ‘‘
Heads up bestie: those formats (po, pot in; ts out) are literal β€” don't try to feed her something else and expect magic. 🫢

🌈 SIGN-OFF 🌈

That's the whole page, bestie! This little beauty comes from Translate Toolkit 3.12.1, and it's dated right there in the footer of the original, same as it ever was. Now go convert some files and be the main character of your localization pipeline. πŸ’–πŸŒΈπŸ’…

πŸ“¦ where this page comes from