resx2po(1)
π resx2po β the manual page, bestie edition π
okay so. this is resx2po, a command from the Translate Toolkit 3.19.5, and it's a section 1 manual page (resx2po(1)). if you're an open source translator who's been stuck converting .resx files by hand, this one's for you, fr fr π«Ά
β¨ NAME β¨
resx2po β Convert .Net Resource (.resx) to Gettext PO localisation files. that's the whole job. it takes your .NET resource files and turns them into gettext PO files so translators can actually do their thing π
πΈ SYNOPSIS πΈ
resx2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-P|--pot] [--filter FILTER] [--duplicates DUPLICATESTYLE]
look at her. all those flags. a whole wardrobe π
π¦ DESCRIPTION π¦
okay so it literally just says this:
See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/resx2po.html for examples and usage instructions.
and that's it!! that's the description!! the docs are doing the heavy lifting, and honestly? respect the confidence. go read that URL if you want examples and usage instructions, bestie, because the manpage itself is keeping it mysterious πβ¨
π OPTIONS π
every single one of them, no skips, no shortcuts, no cap:
--versionβ show program's version number and exit. hit it and bounce π-h/--helpβ show this help message and exit. the classic "help me bestie" move π--manpageβ output a manpage based on the help. yes, it will literally generate a manpage. meta, iconic, obsessed π§--progressβ show progress as:dots,none,bar,names,verbose. pick ur vibe: little dots, absolute silence, a whole bar, names, or full unhinged verbose mode π--errorlevelβ show errorlevel as:none,message,exception,traceback. how much do you wanna know when things go sideways?noneis the "not me looking" option π-i/--inputβ read from INPUT inresxformat. this is where your stuff comes from π-x/--excludeβ exclude names matching EXCLUDE from input paths. bye felicia, not your problem π-o/--outputβ write to OUTPUT inpo,potformats. this is where the magic lands β¨-t/--templateβ read from TEMPLATE inresxformat. your blueprint, your blueprint π-S/--timestampβ skip conversion if the output file has newer timestamp. lowkey the laziest and best feature here, it just goes "already done bestie, moving on" π-P/--potβ output PO Templates (.pot) rather than PO files (.po). template girlies rise π--filterβ leaves to extract e.g.'name,desc': (default: extract everything). so if you only want some of it, say which. otherwise she's taking the whole closet πΈ--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt'). two identical strings walk into a bar and you gotta decide β smash them together withmerge, or keep them separate and distinct withmsgctxt. the default ismsgctxt, periodt π
β οΈ heads up:--filterdefaults to extracting everything unless you tell it otherwise, and--duplicatesdefaults tomsgctxt, notmerge. don't come for me if you assumed wrong π«Ά
π the sign-off π
that's the whole page, bestie. brought to you by Translate Toolkit 3.19.5, living in the resx2po(1) manual. now go convert some resources and slay πβ¨π¦π
π¦ 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