po2rc(1)

πŸ’– po2rc(1) πŸ’–

bestie. sit down. grab a strawberry πŸ“. it's a Translate Toolkit moment β€” version 3.19.5 β€” and today we're turning your Gettext PO localization files back into Windows Resource (.rc) files. yes, backwards. no, it's not weird, it's iconic. ✨


🌸 NAME 🌸

po2rc β€” ok so literally the whole vibe: convert Gettext PO localization files back to Windows Resource (.rc) files. that's it, that's the girl. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

po2rc [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[--charset CHARSET] [--charset-output CHARSET] [-l|--lang LANG]
[--sublang SUBLANG] [--threshold PERCENT] [--fuzzy] [--nofuzzy]

look at all those flags. she's got range. πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

so like, if you want the actual examples and usage instructions, the manpage is literally sending you here:

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

(yes it says rc2po.html even though this is po2rc. that is not a typo on my part, bestie, that is just the link. do not come for me. πŸ’€)

that's the whole description. short. mysterious. main character energy. 🧚


✨ OPTIONS ✨

okay here's the part you're actually here for. every single one. no skips.

  • --version β€” show the program's version number and then dip. bye! πŸ‘‹
  • -h/--help β€” show this help message and exit. the classic.
  • --manpage β€” outputs a manpage based on the help. it's giving meta. πŸͺž
  • --progress β€” show progress as one of: dots, none, bar, names, verbose. pick your aesthetic.
  • --errorlevel β€” show errorlevel as one of: none, message, exception, traceback.
  • -i/--input β€” read from INPUT in po, pot formats.
  • -x/--exclude β€” exclude names matching EXCLUDE from the input paths. not her, not today. πŸ™ˆ
  • -o/--output β€” write to OUTPUT in rc format.
  • -t/--template β€” read from TEMPLATE in rc format.
  • -S/--timestamp β€” skip the conversion if the output file already has a newer timestamp. she said "already done, moving on". πŸ’…
  • --charset β€” charset to use to decode the template RC files (default: utf-8).
  • --charset-output β€” charset to use to encode the RC file (default: auto).
  • -l/--lang β€” the LANG entry.
  • --sublang β€” the SUBLANG entry (default: SUBLANG_DEFAULT).
  • --threshold β€” only convert files where the translation completion is above PERCENT. gatekeeping, but make it quantitative. πŸ“Š
  • --fuzzy β€” use translations marked fuzzy.
  • --nofuzzy β€” don't use translations marked fuzzy (this is the default, bestie, so if you do nothing, this is what you get).
⚠️ real talk: --fuzzy and --nofuzzy are opposites and --nofuzzy wins by default. don't be surprised when your fuzzy strings ghost you. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

there isn't one in this page, bestie. it's just her. solo era. 🌈


that's the whole thing, hope it slayed. this gorgeous page came to you courtesy of Translate Toolkit 3.19.5, and if you're reading the footer β€” yes, that same date and version, we said it twice because you deserve consistency. πŸ’œ now go convert something. periodt. 🫢⭐

πŸ“¦ where this page comes from