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 .pot file. πŸ’– 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 πŸ’–