android2po(1)

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

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

okay so welcome to android2po(1), the icon of the Translate Toolkit ✨ this little cutie converts Android string files into Gettext PO localization files and honestly? she ate. πŸŽ€


🌸 SYNOPSIS

android2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[--duplicates DUPLICATESTYLE]

that's the whole vibe check right there β€” copy it, paste it, live your life 🫢


πŸ’œ DESCRIPTION

literally just go read this: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/android2po.html β€” it's got the examples and the usage instructions, and it's giving "the actual homework" energy. no cap, that's where the details live πŸ”₯


✨ OPTIONS ✨

  • --version β€” shows the program's version number and dips πŸ’¨
  • -h/--help β€” prints this help message and then peaces out, iconic behaviour honestly
  • --manpage β€” spits out a manpage based on the help, which is lowkey so meta of her πŸŒ€
  • --progress β€” shows progress as: dots, none, bar, names, verbose β€” pick your aesthetic, bestie πŸ’«
  • --errorlevel β€” show errorlevel as: none, message, exception, traceback β€” from "don't perceive me" all the way to "tell me everything" 😭
  • -i/--input β€” read from INPUT in xml format πŸ“₯
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths β€” not her, not her, and also not her πŸ™ˆ
  • -o/--output β€” write to OUTPUT in po, pot formats πŸ“€
  • -t/--template β€” read from TEMPLATE in xml format 🧚
  • -S/--timestamp β€” skip conversion if the output file has a newer timestamp β€” she checks the receipts before doing any work πŸ’…
  • --duplicates β€” what to do with duplicate strings (identical source text): merge, msgctxt (default: 'msgctxt') β€” yes, msgctxt is the default, that's not a typo, that's just her πŸ‘‘

heads up bestie: those formats and that default value are exact. po, pot, xml, msgctxt β€” character for character, don't be out here improvising πŸ’€

πŸ¦‹ SEE ALSO

nothing else listed in here, so honestly? it's a solo main character moment. go read that docs link up in DESCRIPTION, that's the whole friend group 🌈


and that's the tea, bestie πŸ“ this gorgeous specimen of a page comes to you from Translate Toolkit 3.12.1 β€” version 3.12.1 and everything, slay πŸ’– mwah, go convert some strings βœ¨πŸ‘‘

πŸ“¦ where this page comes from