Public...calise(3pm)

✨ NAME ✨

Publican::Localise β€” that's the name, and what it is is Publican localisation utilities. it's a 3pm page, which means it lives in the User Contributed Perl Documentation corner of the world, and now it lives in your brain too. slay. πŸ’…


okay so bestie, this page is short but it has lore. first thing it hands you is some code, and the whole point of it is any methods you might want all your languages to share: 🌈

#...any methods you might want all your languages to share...

# And, assuming you want the base class to be an _AUTO lexicon, # as is
discussed a few sections up:
not that second comment being self-aware β€” it literally says the _AUTO lexicon base class situation is discussed a few sections up. iykyk. πŸ™ˆ

🧚 fallback_language_classes

fallback to en for unknown locales. that's the whole thing. no notes, periodt. πŸ’œ

and then we get the language classes, all lined up like a little squad: πŸ¦‹

package Publican::Localise::de_de; use base qw(Locale::Maketext::Gettext);
return 1;
package Publican::Localise::zh_tw; use base qw(Locale::Maketext::Gettext);

return 1;
package Publican::Localise::zh_cn; use base qw(Locale::Maketext::Gettext);

return 1;

okay so de_de, zh_tw and zh_cn are all doing the exact same use base qw(Locale::Maketext::Gettext); and return 1; move. the way they're identical... that's main character energy honestly. πŸ‘‘


πŸ› BUGS AND LIMITATIONS πŸ›

None reported. a clean slate, we love to see it. πŸ’–

but if you find something, don't sit there suffering in silence β€” please report any bugs or feature requests to publican-list@redhat.com, or through the web interface at https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&component=publican. yes that URL is long, no i'm not shortening it, it's staying exactly as it is. 🌸


πŸ‘‘ AUTHOR πŸ‘‘

Jeff Fearn "<jfearn@redhat.com>" β€” that's the author, bestie, show some respect. πŸŽ€


and that's the whole page!! it's from perl v5.26.2, dated 2018-07-08, and it's a Public...calise(3pm) situation (the truncation is doing its own thing, don't worry about it πŸ’€). go forth and localise, bestie 🫢✨

πŸ“¦ where this page comes from