po2moz(1)
π po2moz β the group chat version
okay bestie, so po2moz is a command from Translate Toolkit and it's literally the glow-up station for your translations. It takes Gettext PO localization files and turns them into Mozilla .dtd and .properties files. That's the whole job. That's the vibe. π¦
β¨ NAME β¨
po2moz β Convert Gettext PO localization files to Mozilla .dtd and .properties files. no notes, that's it, that's the mission π
β¨ SYNOPSIS β¨
po2moz [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-l|--locale LOCALE] [--threshold PERCENT] [--fuzzy] [--nofuzzy]
[--removeuntranslated]
β¨ DESCRIPTION β¨
The manpage itself says to go here for examples and usage instructions:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/moz2po.html
(yes bestie, that's the moz2po page β that's what the original says, so that's what you get. iykyk π«Ά)
β¨ OPTIONS β¨
--versionβ show the program's version number and exit. peek at who she is, then dip βοΈ-h/--helpβ show this help message and exit. the classic. your best friend.--manpageβ output a manpage based on the help. manpage-ception, iconic.--progressβ show progress as:dots,none,bar,names,verbose. pick your progress aesthetic π--errorlevelβ show errorlevel as:none,message,exception,traceback. how much do you wanna know when things go wrong π-i/--inputβ read from INPUT in*,dtd.po,dtd.pot,inc.po,inc.pot,ini.po,ini.pot,it.po,it.pot,js,lang.po,lang.pot,manifest,properties.po,properties.pot,rdfformats. yes, all of those. the whole lineup π-x/--excludeβ exclude names matching EXCLUDE from input paths. not in my house π-o/--outputβ write to OUTPUT in*,dtd,inc,ini,it,js,lang,manifest,properties,rdfformats. this is where the magic gets dropped β¨-t/--templateβ read from TEMPLATE in*,dtd,inc,ini,it,js,lang,manifest,properties,rdfformats. shape it up with a template π₯-S/--timestampβ skip conversion if the output file has newer timestamp. she's not doing work that's already been done, periodt βοΈ-l/--localeβ set output locale. and listen: this one is required, because it sets the directory names. don't skip her, fr fr π«Ά--thresholdβ only convert files where the translation completion is above PERCENT. no half-finished energy here π--fuzzyβ use translations marked fuzzy. embrace the blur π--nofuzzyβ don't use translations marked fuzzy (default). the original ick-avoidant behaviour πΈ--removeuntranslatedβ remove untranslated strings from output. if it's not translated, it's not invited, bye π
lowkey important bestie:-l/--localeis required, because it's the thing that decides the directory names. not optional. not a suggestion. slay responsibly π
that's the whole page, no cap. this was Translate Toolkit 3.19.5 doing the most for your localization game β go convert something gorgeous, bestie π§ββοΈπβ¨
π¦ 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