android2po(1)
android2po π β¨
okay bestie, welcome to android2po, part of the Translate Toolkit (we're on version 3.19.5, keep up π). she lives in section 1 of the manual, and she has ONE job: turning your Android string files into Gettext PO localization files. glow-up for your translations, fr fr π¦
πΈ NAME πΈ
android2po β converts Android string files into Gettext PO localization files. that's it, that's the whole vibe. no cap. β¨
π 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]
like, that's the whole invocation lineup. slay. π
π¦ DESCRIPTION π¦
hii so the real tea is over here:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/android2po.html
that's where the examples and usage instructions live. go read it, i'll wait π«Ά
π OPTIONS π
every single one, no skips, no crumbs left behind:
--versionβ shows the program's version number and then dips out. bye π-h/--helpβ prints this help message and exits. the classic. iconic.--manpageβ spits out a manpage based on the help. meta? lowkey yes π--progressβ picks how you wanna see progress. your choices: dots, none, bar, names, verbose. pick your fighter β¨--errorlevelβ how much error drama do you want? options: none, message, exception, traceback. traceback is giving full unhinged π³-i/--inputβ read fromINPUT, in xml format. your source material, bestie π₯-x/--excludeβ exclude names matchingEXCLUDEfrom the input paths. bye to the files you don't want π«-o/--outputβ write toOUTPUT, in po, pot formats. the destination β¨-t/--templateβ read fromTEMPLATE, in xml format. a lil reference blueprint π-S/--timestampβ skips the conversion if the output file already has a newer timestamp. efficient queen π--duplicatesβ what to do when you've got duplicate strings (identical source text)? your options are merge or msgctxt. the default is'msgctxt'. choose wisely bestie π
heads up:--progressand--errorleveland the rest all take those exact values β don't freestyle the spelling, the program is not as forgiving as i am π
and that's the whole page, you ate it up π go convert some strings, main character energy only.
written under the banner of Translate Toolkit 3.19.5 β that's the source and the version, and the date's baked in too, so consider this my cute lil sign-off: mwah, enjoy the manpage, ily ππβ¨
π¦ where this page comes from
- ubuntu stonking: translate-toolkit 3.19.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms