INTLTOOL-MERGE(8)
β¨ intltool-merge β¨
okay so bestie, this is a page from the System Manager's Manual β it's intltool-merge(8), and it's literally the tool that smooshes your translated strings into whatever kind of file you need. no cap. π
πΈ NAME πΈ
intltool-merge β merge translated strings into various types of file π¦
π SYNOPSIS π
intltool-merge [option]... PO_DIRECTORY FILENAME OUTPUT_FILE
π DESCRIPTION π
so here's the vibe: it takes the translated strings chilling in the po files inside PO_DIRECTORY, merges them with the original application file FILENAME, and spits out OUTPUT_FILE β which contains both the original strings and the localized ones. both. at once. iconic behavior honestly. β¨
and if FILENAME is an XML file? then OUTPUT_FILE is gonna have repeated xml nodes, where each node holds one of the localized strings, tagged up with an xml:lang attribute. so like, every language gets its own little node. it's giving organized. π
π OPTIONS π
π§ Mode of operation
-b,--ba-styleβ merges files in bonobo-activation style, which is the style used for bonobo servers. (iykyk π«Ά)-d,--desktop-styleβ merges files in desktop style, which is basically the same vibe as the Windows.inifile format.-k,--keys-styleβ merges files in keys style, the one used for metadata.-o,--oaf-styleβ (OBSOLETE) literally the same thing as-b/--ba-style. like, identical. don't come for me, I'm just the messenger. π-r,--rfc822deb-styleβ merges files in RFC 822 style, which is usually what Debian configuration files use.--quoted-styleβ merges files in quoted string style, which just translates any strings sitting inside"". simple. clean. slay.-x,--xml-styleβ merges files in standard XML style, both as attributes and as raw pcdata. double duty, main character energy. π
π Other options
-u,--utf8β converts all strings to UTF-8 before merging.-p,--pass-throughβ uses strings as-is in the .po files, no conversion at all. > STRONGLY unrecommended with-xβ like, genuinely, don't do it. π¨-c,--cacheβ (TBD). yeah bestie, that's all the manpage says. mystery behavior. π-q,--quietβ be quiet while running. shhh. π€«-v,--versionβ shows version information.-h,--helpβ shows usage and basic help information.
π FILES π
po/.intltool-merge-cacheβ the cache file thatintltool-mergegenerates. it holds all strings in all po files, separated by\01. yes, an actual control character as a separator. unhinged but we respect it. π
π REPORTING BUGS π
found a bug? report it over at http://bugs.launchpad.net/intltool β they wanna hear about it, fr fr.
β AUTHOR β
- Darin Adler
<darin@bentspoon.com> - Kenneth Christiansen
<kenneth@gnu.org> - Maciej Stachowiak
<mjs@eazel.com>
absolute legends, all three of them. π
π SEE ALSO π
iconv(1), intltoolize(8), intltool-prepare(8), intltool-extract(8), intltool-update(8)
go read those next, bestie, the whole intltool cinematic universe is waiting. π
and that's the whole page!! this one's from the intltool package, dated 2003-08-02 β yes, it's been serving looks since 2003, and it still eats. π«Άβ¨π
π¦ where this page comes from
- alpine 3.24: intltool-doc 0.51.0-r9 Β· GPL-2.0-or-later
- arch rolling: intltool 0.51.0-7 Β· GPL-2.0-or-later
- centos-stream 10: intltool 0.51.0-29.el10 Β· GPL-2.0-or-later WITH Autoconf-exception-generic
- centos-stream 9: intltool 0.51.0-20.el9 Β· GPLv2 with exceptions
- debian bookworm: intltool 0.51.0-6
- debian trixie: intltool 0.51.0-7
- fedora 43: intltool 0.51.0-43.fc43 Β· GPL-2.0-or-later WITH Autoconf-exception-generic
- fedora 44: intltool 0.51.0-44.fc44 Β· GPL-2.0-or-later WITH Autoconf-exception-generic
- nixos 26.05: intltool 0.51.0
- nixpkgs unstable: intltool 0.51.0
- opensuse-leap 16.0: intltool 0.51.0-160000.3.2 Β· GPL-2.0-or-later
- ubuntu jammy: intltool 0.51.0-6
- ubuntu noble: intltool 0.51.0-6
- ubuntu resolute: intltool 0.51.0-7
- ubuntu stonking: intltool 0.51.0-7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms