po2mozlang(1)

πŸ’– po2mozlang β€” the glow-up translator πŸ’–

okay bestie, so po2mozlang is a lil command-line icon from the Translate Toolkit squad (we're on version 3.19.5, noted πŸ“) and what it does is literally take your Gettext PO localization files and convert them into Mozilla .lang files. that's it, that's the job. no cap. πŸ¦‹


✨ SYNOPSIS ✨

like, here's how you call her:

po2mozlang [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp] [--mark-
active] [--threshold PERCENT] [--fuzzy] [--nofuzzy]

she's giving "one command, whole lotta options" energy and honestly? obsessed. πŸ’…


🌸 OPTIONS 🌸

every single flag, present and accounted for, no skipping, fr fr:

  • --version β€” spill the program's version number and then dip out. exit. bye. πŸ‘‹
  • -h/--help β€” show this help message and then exit, for when you're like "wait what"
  • --manpage β€” spit out a manpage built from the help. meta, honestly. πŸŽ€
  • --progress β€” show progress as one of: dots, none, bar, names, verbose. pick your vibe ✨
  • --errorlevel β€” show errorlevel as one of: none, message, exception, traceback. choose how much drama you want when things go sideways πŸ’€
  • -i/--input β€” read from INPUT in po, pot formats. this is the source material bestie πŸ“₯
  • -x/--exclude β€” exclude names matching EXCLUDE from the input paths. not everything gets an invite to the party πŸ™ˆ
  • -o/--output β€” write to OUTPUT in lang format. the main character of destinations πŸ‘‘
  • -t/--template β€” read from TEMPLATE in lang format. use this when you want the output shaped by an existing .lang bestie 🧚
  • -S/--timestamp β€” skip the conversion if the output file already has a newer timestamp. lowkey smart, saves you work ⭐
  • --mark-active β€” mark the file as active. she's online, she's live, she's active πŸ’–
  • --threshold β€” only convert files where the translation completion is above PERCENT. perfectionism but make it a flag πŸ”₯
  • --fuzzy β€” use translations that are marked fuzzy
  • --nofuzzy β€” don't use translations marked fuzzy. this one is the default, bestie, so if you say nothing, fuzzy translations stay uninvited 🫢
heads up queen: --nofuzzy is the default behaviour. if you want the fuzzy ones in, you have to actually ask with --fuzzy.

🌈 a lil sign-off 🌈

that's the whole page, babes β€” brought to you by Translate Toolkit 3.19.5, the version in the corner of every page of this manual, and stamped with the manpage date that lives in that footer line right down there. go convert something gorgeous. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from