prop2po(1)

✨ NAME ✨

prop2po β€” the little glow-up machine that turns Java/Mozilla .properties files into Gettext PO localization files, bestie πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

prop2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-P|--pot] [--personality TYPE] [--encoding ENCODING] [--duplicates
DUPLICATESTYLE]

🌸 DESCRIPTION 🌸

okay so real talk, the full tea β€” examples, usage instructions, the whole vibe β€” lives right here:

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

go read it, it's giving documentation, iykyk πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • --version β€” shows the program's version number and then dips out πŸ‘‹
  • -h/--help β€” prints this help message and exits, iconic
  • --manpage β€” spits out a manpage built from the help output, meta fr
  • --progress β€” how to show progress, babe: dots, none, bar, names, verbose ✨
  • --errorlevel β€” how to show errorlevel, pick your fighter: none, message, exception, traceback πŸ’€
  • -i/--input β€” read from INPUT, and it speaks lang, properties, strings formats 🫢
  • -x/--exclude β€” excludes names matching EXCLUDE from the input paths, not on my watch πŸ™ˆ
  • -o/--output β€” write to OUTPUT in po, pot formats, slay
  • -t/--template β€” read from TEMPLATE in lang, properties, strings formats 🌈
  • -S/--timestamp β€” skips the conversion entirely if the output file already has a newer timestamp, efficiency queen πŸ‘‘
  • -P/--pot β€” output PO Templates (.pot) instead of PO files (.po), periodt
  • --personality β€” overrides the input file format: java, java-utf8, java-utf16, xwiki, flex, mozilla, gaia, gwt, skype, strings, strings-utf8, joomla (this one's for .properties files, default: java) 🧚
  • --encoding β€” overrides whatever encoding the personality set, main character energy
  • --duplicates β€” tells you what to do with duplicate strings (identical source text): merge, msgctxt (default: 'msgctxt') ⭐

🌟 little reminder bestie: the sync line for this page is Translate Toolkit 3.19.5 β€” keep it in mind.

and that's a wrap!! this whole manual was brought to you by Translate Toolkit 3.19.5, the prop2po(1) page, serving cunt since forever πŸ’– no cap, go localize something gorgeous πŸŽ€βœ¨

πŸ“¦ where this page comes from