mozlang2po(1)

πŸ“¦ version 3.12.1, in opensuse-leap 16.0

πŸ’… 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 from INPUT in lang format
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths
  • -o/--output β€” write to OUTPUT in po, pot formats
  • -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: --duplicates defaults 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