po2dtd(1)

πŸ’… po2dtd β€” the glow-up page πŸ’…

okay so bestie, this is po2dtd(1), part of the Translate Toolkit 3.19.5 situation, and it's about to turn your translations into Mozilla-flavored goodness. no cap. πŸ¦‹


✨ NAME ✨

po2dtd β€” Converts a Gettext PO file to a UTF-8 encoded Mozilla .dtd file. πŸŽ€

like. that's the whole job. it takes the .po and hands you a .dtd, and yes it's UTF-8 encoded, we don't do anything less here. πŸ’–


✨ SYNOPSIS ✨

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

she's got a long resume, and honestly? iconic. every one of those flags gets its moment below, so don't skip. πŸ‘‘


✨ DESCRIPTION ✨

using the .po file.

...okay so that is literally the entire description in the original and I am NOT about to invent lore that isn't there. the vibes are mysterious, the facts are preserved. πŸ™ˆ what we can say for sure is: it's a PO file, .po, being used, and the --input option below confirms the deets. periodt. πŸ’€


✨ OPTIONS ✨

every single one, bestie. no skipping, no summarizing, that's the rule. 🫢

  • --version β€” show program's version number and exit. quick lil flex then she's gone. πŸ’¨
  • -h/--help β€” show this help message and exit. when you're lost, just ask. πŸ₯Ί
  • --manpage β€” output a manpage based on the help. manpage inception, we love to see it. 🌈
  • --progress β€” show progress as: dots, none, bar, names, verbose. pick your fave way to watch the magic happen ✨
  • --errorlevel β€” show errorlevel as: none, message, exception, traceback. how much drama do you want when something goes wrong? πŸ’…
  • -i/--input β€” read from INPUT in po, pot formats. your source material, your main character. πŸ‘‘
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. not today, bestie, not in MY output. 🚫
  • -o/--output β€” write to OUTPUT in dtd format. the destination. the final form. the slay. πŸŽ€
  • -t/--template β€” read from TEMPLATE in dtd format. like a lil blueprint to follow. πŸ“
  • -S/--timestamp β€” skip conversion if the output file has newer timestamp. she's not doing redundant work, she's smarter than that. ⏰
  • --threshold β€” only convert files where the translation completion is above PERCENT. commitment issues? no, just standards. πŸ’…
  • --fuzzy β€” use translations marked fuzzy. yes, the fuzzy ones, bring them in. 🌸
  • --nofuzzy β€” don't use translations marked fuzzy (default). this is the one she does automatically unless you say otherwise. ⭐
  • --removeuntranslated β€” remove untranslated strings from output. if it's not translated, it's not invited to the party. πŸ’€

heads up bestie: --fuzzy and --nofuzzy are opposites, and --nofuzzy is the default. so if you want the fuzzy ones, you gotta say it out loud. 🫢

🌸 SEE ALSO 🌸

nope! there are no SEE ALSO references in this page. the original doesn't have them, so I'm not making them up. no invented cross-references on my watch. 🧚


and that's the whole page!! she's from Translate Toolkit 3.19.5 β€” that's the version, that's the source, that's the whole footer situation. no date to report, because the original didn't give one and I will not be fabricating. πŸ’œ

stay translated, bestie. iykyk. πŸ“βœ¨

πŸ“¦ where this page comes from