prop2po(1)
πΈ NAME πΈ
okay so bestie, this is prop2po(1) β the command that converts Java/Mozilla .properties files to Gettext PO localization files. itβs giving βlocalization glow-upβ and honestly? obsessed. π
β¨
π SYNOPSIS π
run it like this, no cap:
prop2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-P|--pot] [--personality TYPE] [--encoding ENCODING] [--duplicates
DUPLICATESTYLE]
π¦ DESCRIPTION π¦
the manual is literally like: See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/prop2po.html for examples and usage instructions. thatβs the whole description, bestie β go peek at the examples and usage tea. π«Ά
π OPTIONS π
every flag, zero gatekeeping:
--versionβ shows the program's version number and exits. short, sweet, iconic. π-h/--helpβ shows this help message and exits. your built-in tutorial era. π«Ά--manpageβ outputs a manpage based on the help. yes, manpage-ception. β¨--progressβ shows progress as:dots,none,bar,names,verbose. pick your vibe. π--errorlevelβ shows errorlevel as:none,message,exception,traceback. choose how much chaos you want to see. π-i/--inputβ reads fromINPUTinlang,properties,stringsformats. feed her the source, bestie. π-x/--excludeβ excludes names matchingEXCLUDEfrom input paths. not invited to the party. π-o/--outputβ writes toOUTPUTinpo,potformats. thatβs the destination, periodt. π-t/--templateβ reads fromTEMPLATEinlang,properties,stringsformats. template bestie has entered the chat. π-S/--timestampβ skips conversion if the output file has a newer timestamp. lowkey efficient. β-P/--potβ outputs PO Templates (.pot) rather than PO files (.po). pot not po, iykyk. π₯--personalityβ overrides the input file format:java,java-utf8,java-utf16,xwiki,flex,mozilla,gaia,gwt,skype,strings,strings-utf8,joomla(for.propertiesfiles, default:java). so many little personalities, all valid. π--encodingβ overrides the encoding set by the personality. encoding said βnot today,β you said βactually yes.β π--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt'). duplicate drama, handled. π
mwah π β thatβs the prop2po(1) page from Translate Toolkit 3.12.1; the footer didnβt list a separate date, so Iβm not inventing one, bestie. slay responsibly. ππ
π¦ where this page comes from
- opensuse-leap 16.0: python313-translate-toolkit 3.12.1-bp160.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms