po2resx(1)

✨ po2resx β€” the glow-up your translations deserve ✨

okay bestie, listen up πŸ’– this is po2resx, a lil command from the Translate Toolkit (3.19.5, she's iconic) and her whole job is turning Gettext PO localisation files into .Net Resource (resx) files. it's giving translator-to-dotnet pipeline, and honestly? slay. πŸŽ€


🌸 NAME 🌸

po2resx β€” convert Gettext PO localisation files to .Net Resource (.resx) files. no cap, that's literally it, and she does it beautifully. πŸ’…


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

like, it's a lot of flags but don't panic, we're gonna walk through every single one together 🫢


🌈 DESCRIPTION 🌈

okay so here's the tea β˜• the official docs say:

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

that's the real, actual link, and it's where the examples and usage instructions live. go read it, it's giving useful. πŸ“–βœ¨


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per flag, no skipping, we're being thorough bestie 😌

  • --version β€” shows the program's version number and then dips out entirely. bye! πŸ‘‹
  • -h, --help β€” shows this help message and exits. your classic "wait what does this do again" move πŸ’€
  • --manpage β€” outputs a manpage built from the help. manpage-ception fr fr πŸ“œ
  • --progress β€” shows progress as one of: dots, none, bar, names, verbose. pick your vibe check πŸ”₯
  • --errorlevel β€” shows errorlevel as one of: none, message, exception, traceback. choose how loud the drama gets 😭
  • -i, --input β€” read from INPUT in po, pot formats. this is the source file, the main character πŸŽ€
  • -x, --exclude β€” exclude names matching EXCLUDE from the input paths. not today, random file 🚫
  • -o, --output β€” write to OUTPUT in resx format. the glow-up destination ✨
  • -t, --template β€” read from TEMPLATE in resx format. for when you want a lil structure to follow 🧚
  • -S, --timestamp β€” skip the conversion if the output file has a newer timestamp. lowkey the "if it ain't broke" flag πŸ’…
  • --fuzzy β€” use translations marked fuzzy. yes queen, use the unsure ones 🌸
  • --nofuzzy β€” don't use translations marked fuzzy. this one is the default, so it's what happens if you say nothing at all πŸ™ˆ

πŸ’œ a lil sign-off πŸ’œ

this page shipped with Translate Toolkit 3.19.5 β€” that's the source and the version, periodt πŸ‘‘ go convert something gorgeous, bestie, i believe in you πŸ¦‹πŸ’–β­

πŸ“¦ where this page comes from