XGETTEXT-TXT(1p)

✨ NAME ✨

okay bestie, meet xgettext-txt β€” it's the xgettext-txt manual page (that's the 1p section, perl peeps 🫢) and its whole entire job is creating PO files out of text files. that's it. that's the vibe. πŸ’…


🌸 USAGE 🌸

here's how you run it, no cap:

xgettext-txt [OPTIONS] TEXTFILE[, TEXTFILE]
xgettext-txt [OPTIONS] --files-from="filelist"
xgettext-txt --help

like, three whole ways. pick your fighter. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

so basically it reads one or more text files and turns every paragraph into a translatable string inside a PO file (or a .pot file, same energy). paragraphs in, translatable strings out. iconic behaviour honestly. ✨

if you want the full list of options (and there are a lot, we're not playing around), go check the online docs for Locale::XGettext over at http://search.cpan.org/~guido/Locale-XGettext/lib/Locale/XGettext.pm, or literally just run perldoc Locale::XGettext in your terminal and read it there. both give you the complete rundown. πŸ“š


πŸ’€ BUGS πŸ’€

ngl, there's a known wish here: it should be possible to specify alternative delimiters and not just paragraphs. right now? paragraphs only. sad but true. 😭

πŸ‘‘ AUTHOR πŸ‘‘

written by Guido Flohr β€” you can find him at http://www.guido-flohr.net/. king behaviour fr fr. 🫢


Copyright (C) 2016-2017 Guido Flohr (http://www.guido-flohr.net/).

License LGPLv1.1+: GNU General Public License version 2.1 or later <http://gnu.org/licenses/lgpl.html>

it's free software babes β€” you're free to change it and redistribute it. but also, and I need you to hear this: there is NO WARRANTY, to the extent permitted by law. none. zero. zilch. πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, iykyk. πŸ“–βœ¨


and that's a wrap on this page, bestie πŸ’– β€” this lil manual came to you from perl v5.36.0, dated 2023-02-05, and it's filed under XGETTEXT-TXT(1p). now go make some PO files, you main character. slay. πŸ’…πŸŒΈ