xliff2po(1)

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

πŸ’… xliff2po β€” like, the manual page, bestie

okay so this is xliff2po(1), and it's your new fave little tool from the Translate Toolkit (version 3.12.1, for the record πŸ“Œ). She converts XLIFF localization files into Gettext PO localization files. That's the whole vibe. Let's get into it ✨


🌸 NAME 🌸

xliff2po β€” converts XLIFF localization files into Gettext PO localization files. Glow-up from one format to the other, no cap πŸ’–


✨ SYNOPSIS ✨

xliff2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp] [-P|--pot] [--duplicates
DUPLICATESTYLE]

like, that's the whole shape of the command. every flag shown, none invented 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so the manpage itself is very demure, very mindful about it β€” it just says:

See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/xliff2po.html for examples and usage instructions.

and honestly? go look at it. examples and usage instructions are all in there, periodt πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • --version β€” shows the program's version number and then exits. cute little flex, then bye πŸ’…
  • -h/--help β€” shows you this help message and exits. the classic "help me help you" moment 😭
  • --manpage β€” outputs a manpage based on the help. very meta, honestly iconic πŸŒ€
  • --progress β€” picks how progress gets shown to you: dots, none, bar, names, verbose. pick your vibe check ✨
  • --errorlevel β€” picks how much error detail you get: none, message, exception, traceback. from "don't perceive it" to "show me everything" πŸ’€
  • -i/--input β€” reads from INPUT in xlf, xliff formats. this is where the XLIFF lives, bestie 🏠
  • -x/--exclude β€” excludes names matching EXCLUDE from input paths. like a bouncer at the door, but for filenames πŸ™ˆ
  • -o/--output β€” writes to OUTPUT in po, pot formats. that's the destination, the main character destination 🎯
  • -S/--timestamp β€” skips the conversion if the output file has a newer timestamp. not me avoiding work when it's already up to date 😴 ngl it's efficient
  • -P/--pot β€” outputs PO Templates (.pot) rather than PO files (.po). templates instead of translations, so the translators have a clean slate 🌈
  • --duplicates β€” what to do with duplicate strings (identical source text): merge, msgctxt (default: 'msgctxt'). so the default is msgctxt, and merge is the other option β€” no cap, keep them digits and words exact πŸ”₯

⭐ reminder bestie: the default for --duplicates is 'msgctxt'. don't forget the quotes situation, just pass the value πŸ’–

🧚 sign-off 🧚

and that's the page! brought to you by Translate Toolkit 3.12.1 β€” she's serving documentation realness, dated with all the relevant manpage energy at the bottom, and she ate. go forth and convert, bestie πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from