SWAPPO(1)
π SWAPPO β the manual, bestie edition β¨
okay so bestie, you know how sometimes you're staring at a .po file and you're like "the vibes are immaculate but the direction is giving wrong"?? yeah. that's what swappo is for. it's the section 1 (general commands) girlie in your toolbox and she is iconic**.
πΈ NAME πΈ
swappo β swap msgid and msgstr fields in a PO file ππ
π SYNOPSIS π
swappo [filename.po]
β¨ DESCRIPTION β¨
so here's the tea, bestie π. swappo reads the PO-file you hand it and swaps the msgid and msgstr fields for every single message. no skips, no favourites, all of them. the glow-up result is a new PO-file that translates in the opposite direction. like, if your PO-file was translating from English to French, the new PO-file will translate from French to English. it's giving reverse uno card πβ¨
the new PO-file gets written to standard output β that's stdout, so pipe it or redirect it, bestie, don't just let it fly into your terminal and vibe there. and the good news?? the old PO-file stays completely untouched π«Ά. no cap. nothing gets overwritten behind your back.
heads up π: because it writes to standard output, if you forget to redirect, you'll just be watching your entire PO-file scroll past like it's a group chat you weren't invited to.
this utility is part of the KDE Software Development Kit π
π SEE ALSO π
the whole little friend group π¦ go say hi
π AUTHORS π
the PO-XML tools were written by Stephan Kulow <coolo@kde.org> β literal main character energy, thank you for your service π
this manual page was prepared by Ben Burton <bab@debian.org> π
π AUTHOR π
Ben Burton <bab@debian.org> Author.
okay and for the cute sign-off: this page lives in [FIXME: source], dated 2003-04-07, and it's filed under SWAPPO(1) in section 1 π§π periodt, go swap some strings bestie, you got this β¨
π¦ where this page comes from
- arch rolling: poxml 26.08.2-1 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian bookworm: poxml 4:22.12.3-1 Β· GPL-2.0-or-later
- debian trixie: poxml 4:25.04.0-1 Β· GPL-2.0-or-later
- epel 10: poxml 26.08.1-1.el10_3 Β· GPL-2.0-or-later
- epel 9: poxml 23.08.5-1.el9 Β· GPLv2+
- fedora 43: poxml 25.08.2-1.fc43 Β· GPL-2.0-or-later
- fedora 43: poxml 26.04.3-1.fc43 Β· GPL-2.0-or-later
- fedora 44: poxml 25.12.3-1.fc44 Β· GPL-2.0-or-later
- fedora 44: poxml 26.08.1-1.fc44
- fedora 44: poxml 26.08.2-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: poxml 26.04.3
- nixpkgs unstable: poxml 26.08.2
- opensuse-leap 16.0: kde-l10n-devel 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- opensuse-leap 16.0: kde-l10n-devel 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- opensuse-leap 16.0: kde-l10n-devel 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- opensuse-leap 16.0: kde-l10n-devel 25.04.3-bp160.1.2 Β· GPL-2.0-only AND GFDL-1.2-only
- ubuntu noble: poxml 4:23.08.5-0ubuntu3 Β· GPL-2.0-or-later
- ubuntu questing: poxml 4:25.08.1-0ubuntu1
- ubuntu resolute: poxml 4:25.12.3-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: poxml 4:26.08.1-0ubuntu1 Β· 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