Dist::...eMsgfmt(3pm)

πŸ“¦
version 1.203 Β· 2 versions
, in ubuntu jammy, ubuntu noble

πŸ’– Dist::...eMsgfmt(3pm) β€” bestie edition πŸ’–

okay so you found the manpage for Dist::Zilla::Plugin::LocaleMsgfmt, a lil Perl 5 thing that compiles your .po files into .mo files using Local::Msgfmt. yes girl, it's a whole plugin, and it's about to make your localization workflow slay. 🌍✨


🌸 NAME 🌸

Dist::Zilla::Plugin::LocaleMsgfmt β€” compiles .po files to .mo files with Local::Msgfmt πŸ’…


⭐ VERSION ⭐

version 1.203


πŸ¦‹ DESCRIPTION πŸ¦‹

ok so first thing, put this in your dist.ini:

[LocaleMsgfmt]
locale = share/locale ; this is the default

and that's literally it, bestie. 🫢

This plugin will compile all of the .po files it finds in the locale directory into .mo files, via Locale::Msgfmt. no cap. it just does the thing. πŸ’–


πŸŽ€ ATTRIBUTES πŸŽ€

πŸ” recursive

Whether to look up in the locale files recursively. iykyk β€” if you got nested folders, this is your girl. 🧚

πŸ“ locale

Path to the directory containing the locale files.


πŸ’€ TODO πŸ’€

  • Remove the generated files after the build finishes, or better yet do the generation inside the build dir.

(it's giving "we know, we know" β€” it's written down, it's on the list, the vibes are immaculate but the cleanup is not πŸ™ˆ)


πŸ‘‘ AUTHOR πŸ‘‘

Patrick Donelan <pdonelan@cpan.org>


This software is copyright (c) 2011 by Patrick Donelan.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


ngl that license paragraph is short and sweet and legally airtight, periodt. πŸ“œ

and that's the whole page, bestie πŸ’œ this one's from perl v5.28.0, dated 2018-10-29, filed under Dist::...eMsgfmt(3pm) in the User Contributed Perl Documentation. mwah, go compile some locales πŸ“βœ¨

πŸ“¦ where this page comes from