mozlang2po(1)
π NAME π
okay bestie, welcome to the mozlang2po manual page π this one converts Mozilla .lang files into Gettext PO localization files. that's the whole assignment, and it ate β¨
β¨ SYNOPSIS β¨
here's the exact shape of it, no cap:
mozlang2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp] [-P|--pot] [--encoding]
[--duplicates DUPLICATESTYLE]
π OPTIONS π
the flags are giving full menu, and yes, every single one is here:
--versionβ show program's version number and exit-h/--helpβ show this help message and exit--manpageβ output a manpage based on the help--progressβ show progress as:dots,none,bar,names,verbose--errorlevelβ show errorlevel as:none,message,exception,traceback-i/--inputβ read fromINPUTinlangformat-x/--excludeβ exclude names matchingEXCLUDEfrom input paths-o/--outputβ write toOUTPUTinpo,potformats-S/--timestampβ skip conversion if the output file has newer timestamp-P/--potβ output PO Templates (.pot) rather than PO files (.po)--encodingβ The encoding of the input file (default:UTF-8)--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt')
lowkey important:--duplicatesdefaults to'msgctxt', so don't act surprised when that's the vibe π
signed off by Translate Toolkit 3.12.1 β this is the mozlang2po page, and that's the tea π«Άβ¨
π¦ 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