rc2po(1)
π rc2po(1) β the Windows RC β‘οΈ Gettext PO glow-up π
okay bestie, sit down, hydrate, and let me tell you about rc2po, the iconic little command from Translate Toolkit 3.19.5 that takes your Windows RC files and converts them into Gettext PO localization files. it's giving translator-girlboss. it's giving pipeline. periodt. π
β¨ NAME β¨
rc2po β Convert Windows RC files to Gettext PO localization files.
no cap, that's literally the whole job description. π¦
β¨ SYNOPSIS β¨
rc2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-P|--pot] [--charset CHARSET] [-l|--lang LANG] [--sublang SUBLANG]
[--duplicates DUPLICATESTYLE]
look at her. all those flags. main character energy fr fr. π
β¨ DESCRIPTION β¨
so like, for actual examples and usage instructions, go read this:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/rc2po.html
that's the homework, bestie. i'm not the one who wrote the tutorial. π
β¨ OPTIONS β¨
every single one of these matters, so we're going through all of them. no skipping. not me being thorough π
--versionβ show the program's version number and then dip. exit.-h/--helpβ show this help message and exit. your lil emergency button π«Ά--manpageβ output a manpage based on the help. meta?? a manpage about manpages. obsessed.--progressβ show progress as:dots,none,bar,names,verbose. pick your vibe check π--errorlevelβ show errorlevel as:none,message,exception,traceback. how loudly do you want to be shouted at when things go wrong π-i/--inputβ read from INPUT innls,rcformats. this is where your stuff lives.-x/--excludeβ exclude names matching EXCLUDE from input paths. not today, that file. π-o/--outputβ write to OUTPUT inpo,potformats. this is where the magic lands β¨-t/--templateβ read from TEMPLATE innls,rcformats. for when you need a reference bestie.-S/--timestampβ skip conversion if the output file has newer timestamp. lazy in the most efficient way possible, and honestly? valid. π-P/--potβ output PO Templates (.pot) rather than PO files (.po). template-girl autumn π--charsetβ charset to use to decode the RC files (autodetection is used by default). she'll figure it out herself unless you tell her otherwise π-l/--langβ LANG entry (default:None)--sublangβ SUBLANG entry (default:None)--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt'). choose wisely, the default is already giving π§
heads up: when an option says default: None, that's genuinely the default β nothing is set unless you set it. don't come for me, that's just what the manpage says. πΈ
and that's the whole page, bestie!! every flag, every value, every default, exactly as written β i would never gatekeep. now go convert some RC files and slay π π
sending you love from Translate Toolkit 3.19.5 β rc2po(1), out. bye bestie, ily, drink water π«Άπ
π¦ where this page comes from
- ubuntu stonking: translate-toolkit 3.19.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms