REP-XGETTEXT(1)
π¦ rep-xgettext β gettext but make it Lisp π
okay bestie, so this is a manual page for the section 1 command rep-xgettext, and it's literally about pulling your i18n strings out of Lisp scripts. it's giving translator-friendly, it's giving .pot files, we love to see it. β¨
β¨ NAME β¨
rep-xgettext β extract i18n strings from lisp scripts. π
πΈ SYNOPSIS πΈ
rep-xgettext [ --include DEFINER ] [ --c ] [ --pot ]
π DESCRIPTION π
so here's the tea, bestie. π« the usual method of constructing message catalogue templates (.pot files) is to run xgettext on the C source files of the program β the ones that have been annotated for i18n, yk? and librep provides the rep-xgettext program to perform the same task for files of Lisp code. π no cap, same energy, different language. Lisp girlies get i18n too. periodt. π
π OPTIONS π
--includeβ include DEFINER. heads up though: this is not documented by upstream. π so like, it's there, it does a thing, and honestly that's all we're legally allowed to say about it. mystery icon behaviour, lowkey.--cβ this makes it output pseudo C code containing the string constants found. π§ so it's C-coded but make it fake, iykyk.--potβ this makes it output in standart.potfile. π the classic. the main character format.
π SEE ALSO π
the programs are documented fully by John Harper available via the Info system. π go read the source of truth, bestie, it's right there.
π AUTHOR π
this manual page was written by Christian Marillat <marillat@debian.org> for the Debian GNU/Linux system (but may be used by others). π«Ά iconic of him honestly.
π one more thing: this whole thing is dated 04 avril 2003, and it's the REP-XGETTEXT(1) page from back in the day. shoutout to 2003, she ate. πβ¨πΈ
k byeeee, go extract those strings π
π¦ where this page comes from
- debian bookworm: librep-dev 0.92.5-3.1 Β· GPL-2.0-only
- debian trixie: librep-dev 0.92.7-4 Β· GPL-2.0-or-later
- fedora 43: librep-devel 0.92.7-28.fc43 Β· GPL-2.0-or-later
- fedora 43: librep-devel 0.92.7-28.fc43 Β· GPL-2.0-or-later
- fedora 44: librep-devel 0.92.7-29.fc44 Β· GPL-2.0-or-later
- fedora 44: librep-devel 0.92.7-29.fc44 Β· GPL-2.0-or-later
- nixos 26.05: librep 0.92.7
- nixpkgs unstable: librep 0.92.7
- ubuntu jammy: librep-dev 0.92.5-3build5 Β· GPL-2.0-only
- ubuntu noble: librep-dev 0.92.5-3.1ubuntu1 Β· GPL-2.0-only
- ubuntu questing: librep-dev 0.92.7-4
- ubuntu resolute: librep-dev 0.92.7-4.1 Β· GPL-2.0-or-later
- ubuntu stonking: librep-dev 0.92.7-4.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