INTLTOOL-PREPARE(8)
π INTLTOOL-PREPARE π
the intltool-prepare era, bestie β manual page 8, straight outta the System Manager's Manual β¨
β¨ NAME β¨
intltool-prepare β get your software all set up to use intltool π
πΈ SYNOPSIS πΈ
intltool-prepare [option] [KEYWORD]...
π¦ DESCRIPTION π¦
okay so picture this π some software packages ship with certain kinds of translatable files β think .desktop and .soundlist vibes. Before those packages can use intltool, translators literally have to dig through every single one of them by hand and paste the localization into each file. And bestie, that process is error prone fr fr. Translators might typo something, or drop their localization in the wrong encoding. On top of that, they might not even know that other files (besides .po files) are translatable in the first place. π
intltool dodges all of those problems by pulling the strings inside those translatable files out into a po template (.pot) file. So all a translator has to care about is translating po files. Periodt. π
Then later, intltool-merge(8) merges the localized strings back into those files. Iconic behaviour honestly. π
But before your software becomes intltool-aware, a few issues have to get sorted out first, and intltool-prepare tries to take care of all of them. Here's what it does:
- Extract all localized strings in
.desktopstyle files (including".desktop",".soundlist",".keys"and".directory") into corresponding po files. π - Convert the translatable files into templates that don't contain any localization. β¨
- Add the list of template files above into
POTFILES.in. π - Add the list of old translatable files into
.cvsignore(since they will be generated by intltool later). π - Add the rules for generating these files into
Makefile.am. π₯
NOTE: You must change working directory to the top level source directory before running intltool-prepare. No cap. π¨
π OPTIONS π
KEYWORD is a list of additional keywords beside "Name", "Comment" and "description". intltool-prepare will recognize any line starting with those KEYWORD and extract localized strings after equal sign ("="). π§
-x,--verboseβ be verbose and give the user some additional feedback, so you actually know what's going on. π¬-v,--versionβ show version information. π-h,--helpβ show usage and basic help information. π«Ά
π REPORTING BUGS π
Report bugs to http://bugs.launchpad.net/intltool β tell them everything, bestie, they wanna know. π
π AUTHOR π
- Darin Adler
<darin@bentspoon.com> - Kenneth Christiansen
<kenneth@gnu.org> - Maciej Stachowiak
<mjs@eazel.com>
π SEE ALSO π
intltoolize(8), intltool-update(8), intltool-extract(8), intltool-merge(8)
and that's the whole page, mwah π this was intltool from 2003-08-02, lowkey a vintage queen, no notes β¨ππ¦
π¦ 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