po2resx(1)

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

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

okay bestie, so po2resx is a command from the Translate Toolkit fam (vibe check: the po in the name is your Gettext PO localisation files, the resx is the .Net Resource files) and its whole job is converting one into the other. iconic behaviour honestly.


✨ NAME ✨

po2resx β€” Convert Gettext PO localisation files to .Net Resource (.resx) files.

that's it. that's the job. slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

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

copy that exactly, bestie, don't be out here "fixing" the spacing πŸ’€


🌸 DESCRIPTION 🌸

so like, the actual examples and usage instructions live over here, and yes you do need to go read them:

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

(it says resx2po and not po2resx β€” that's not a typo on my part, that's literally the link in the manpage. iykyk 🧚)


πŸŽ€ OPTIONS πŸŽ€

here's the full menu, no cap, every single one:

  • --version β€” show program's version number and exit. one last flex before you go 🫢
  • -h/--help β€” show this help message and exit. the classic "help me help you" move
  • --manpage β€” output a manpage based on the help. very meta of it
  • --progress β€” show progress as: dots, none, bar, names, verbose. pick your aesthetic ✨
  • --errorlevel β€” show errorlevel as: none, message, exception, traceback. how much chaos do you want to witness 😭
  • -i/--input β€” read from INPUT in po, pot formats. your source material, main character energy
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. not invited to the party πŸ™ˆ
  • -o/--output β€” write to OUTPUT in resx format. the glow-up destination
  • -t/--template β€” read from TEMPLATE in resx format. the blueprint, the blueprinting
  • -S/--timestamp β€” skip conversion if the output file has newer timestamp. lowkey lazy in the best way, saves you work
  • --fuzzy β€” use translations marked fuzzy. we love a little uncertainty πŸ’œ
  • --nofuzzy β€” don't use translations marked fuzzy (default). strict queen behaviour πŸ‘‘
heads up: --fuzzy and --nofuzzy are opposites, and --nofuzzy is what you get if you say nothing at all. choose wisely, bestie πŸ’…

🌈 the sign-off 🌈

that's the whole page, fr fr. brought to you by Translate Toolkit 3.12.1 β€” that's the version, that's the source, and po2resx(1) is the manpage you're standing in. now go convert some localisation files and be iconic about it πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from