po2prop(1)

πŸ’… po2prop β€” the manual, but make it make sense

okay so bestie, welcome to po2prop(1) πŸ’– this is the glow-up tool that takes your Gettext PO localization files and turns them into Java/Mozilla .properties files. yes, it's giving "translation pipeline main character energy" ✨


🌸 SYNOPSIS

po2prop [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[--personality TYPE] [--encoding ENCODING] [--threshold PERCENT]
[--fuzzy] [--nofuzzy] [--removeuntranslated]

πŸ¦‹ DESCRIPTION

like, if you want examples and actual usage instructions, the docs said:

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

no cap, that's the whole description. go read it, it slaps 🫢


✨ OPTIONS ✨

  • --version β€” show program's version number and exit. bye bestie πŸ‘‹
  • -h/--help β€” show this help message and exit. the classic.
  • --manpage β€” output a manpage based on the help. meta much? πŸ’€
  • --progress β€” show progress as: dots, none, bar, names, verbose. pick your vibe.
  • --errorlevel β€” show errorlevel as: none, message, exception, traceback. choose how much you wanna know when things go sideways 😭
  • -i/--input β€” read from INPUT in po, pot formats. this is where your source energy lives.
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. not today, queen 🚫
  • -o/--output β€” write to OUTPUT in lang, properties, strings formats. the destination, the moment, the slay.
  • -t/--template β€” read from TEMPLATE in lang, properties, strings formats. for when you need a little structure in your life.
  • -S/--timestamp β€” skip conversion if the output file has newer timestamp. she said "already done, don't touch me" πŸ’…
  • --personality β€” override 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 personalities, all valid 🌈
  • --encoding β€” override the encoding set by the personality. when the vibe needs adjusting.
  • --threshold β€” only convert files where the translation completion is above PERCENT. we love a standards girlie πŸŽ€
  • --fuzzy β€” use translations marked fuzzy. a lil blurry but we move.
  • --nofuzzy β€” don't use translations marked fuzzy (default). strict queen behavior πŸ‘‘
  • --removeuntranslated β€” remove untranslated strings from output. bye, untranslated flops πŸ¦‹

legit reminder bestie: --nofuzzy is the default, so if you want the fuzzy ones you have to ask for them. iykyk.

and that's the whole page, fr fr. this was po2prop(1) from Translate Toolkit 3.19.5 πŸ’œ ty for reading, you ate that πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from