prop2po(1)

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

🌸 NAME 🌸

okay so bestie, this is prop2po(1) β€” the command that converts Java/Mozilla .properties files to Gettext PO localization files. it’s giving β€œlocalization glow-up” and honestly? obsessed. πŸ’…βœ¨

πŸŽ€ SYNOPSIS πŸŽ€

run it like this, no cap:

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 πŸ¦‹

the manual is literally like: See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/prop2po.html for examples and usage instructions. that’s the whole description, bestie β€” go peek at the examples and usage tea. 🫢

πŸ’– OPTIONS πŸ’–

every flag, zero gatekeeping:

  • --version β€” shows the program's version number and exits. short, sweet, iconic. πŸ’…
  • -h/--help β€” shows this help message and exits. your built-in tutorial era. 🫢
  • --manpage β€” outputs a manpage based on the help. yes, manpage-ception. ✨
  • --progress β€” shows progress as: dots, none, bar, names, verbose. pick your vibe. 🌈
  • --errorlevel β€” shows errorlevel as: none, message, exception, traceback. choose how much chaos you want to see. 😭
  • -i/--input β€” reads from INPUT in lang, properties, strings formats. feed her the source, bestie. πŸ“
  • -x/--exclude β€” excludes names matching EXCLUDE from input paths. not invited to the party. πŸ™ˆ
  • -o/--output β€” writes to OUTPUT in po, pot formats. that’s the destination, periodt. πŸ’–
  • -t/--template β€” reads from TEMPLATE in lang, properties, strings formats. template bestie has entered the chat. πŸŽ€
  • -S/--timestamp β€” skips conversion if the output file has a newer timestamp. lowkey efficient. ⭐
  • -P/--pot β€” outputs PO Templates (.pot) rather than PO files (.po). pot not po, iykyk. πŸ”₯
  • --personality β€” overrides the input file format: java, java-utf8, java-utf16, xwiki, flex, mozilla, gaia, gwt, skype, strings, strings-utf8, joomla (for .properties files, default: java). so many little personalities, all valid. πŸ‘‘
  • --encoding β€” overrides the encoding set by the personality. encoding said β€œnot today,” you said β€œactually yes.” πŸ’€
  • --duplicates β€” what to do with duplicate strings (identical source text): merge, msgctxt (default: 'msgctxt'). duplicate drama, handled. πŸ’œ

mwah πŸ’‹ β€” that’s the prop2po(1) page from Translate Toolkit 3.12.1; the footer didn’t list a separate date, so I’m not inventing one, bestie. slay responsibly. πŸ’–πŸŽ€

πŸ“¦ where this page comes from