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
- debian bookworm: publican 4.3.2-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- ubuntu jammy: publican 4.3.2-3 Β· Artistic-1.0-Perl OR 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