Locale:...aketext(3)

πŸ“¦
version 1.036 Β· 2 versions
, in fedora 43

🌸 Locale::TextDomain::OO::Lexicon::Role::GettextToMaketext β€” the manual page, bestie edition πŸ’…

okay so this is a page from the perl manual, section 3 (that's the library-functions girlies, iykyk). It's about a role called Locale::TextDomain::OO::Lexicon::Role::GettextToMaketext β€” a style formatter, no cap. Pull up a chair, we're doing lore. 🫢

$Id: GettextToMaketext.pm 413 2013-10-27 13:12:20Z steffenw $
$HeadURL: svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/module/trunk/lib/Locale/TextDomain/OO/Lexicon/Role/GettextToMaketext.pm $

✨ VERSION ✨

1.000 β€” yeah she's serving version number realness. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

This module hands you a method that reformats stuff from gettext style into maketext style. That's the whole job. It's giving translator-glow-up energy. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

So here's how you'd actually pull it into your class, literally just:

    with qw(
        Locale::TextDomain::OO::Lexicon::Role::GettextToMaketext
    );

with qw(...) β€” it's a role, so you consume it, you don't inherit it. periodt. πŸ’…


🌈 SUBROUTINES/METHODS 🌈

πŸ“ method gettext_to_maketext

Formats msgid and msgstr β€” if they exist β€” from gettext style into maketext style. If they don't exist, well, nothing to format, moving on. πŸ™ˆ

Call it like this, exactly like this:

    $self->gettext_to_maketext($messages_ref);

Notice the $messages_ref β€” it's a reference to your messages, not the messages themselves. She's a reference girlie. πŸ”₯


πŸ‘‘ EXAMPLE πŸ‘‘

Inside of this distribution there's a directory named example. Go in there and run this *.pl files. That's it, that's the example. 🧚


πŸ’€ DIAGNOSTICS πŸ’€

none

...yeah. Nothing. Silence. Iconic behaviour honestly, no notes.


🌸 CONFIGURATION AND ENVIRONMENT 🌸

none

Nothing to configure, nothing to set in your environment. She arrives ready. πŸŽ€


🧚 DEPENDENCIES 🧚

Your girl does not stand alone, she has a whole support system:

  • Locale::Utils::PlaceholderMaketext
  • Moo::Role
  • namespace::autoclean

Three besties. A trio. We love a solid friend group. πŸ’œ


⭐ INCOMPATIBILITIES ⭐

not known

Translation: nobody's caught her beefing with anyone yet. No known drama. πŸ™ˆ


😭 BUGS AND LIMITATIONS 😭

none

Zero bugs reported, zero limitations listed. We're all pretending that's permanent. πŸ’…


🫢 SEE ALSO 🫢

  • Locale::TextDoamin::OO

(yes, spelled exactly like that in the original β€” I am not fixing it, I am reporting it, and honestly? she's quirky. ✨)


πŸ’– AUTHOR πŸ’–

Steffen Winkler β€” the main character who wrote all this. πŸŽ€


Copyright (c) 2013, Steffen Winkler "<steffenw at cpan.org>". All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. So go forth, remix, redistribute β€” just keep the terms, bestie. 🀝


πŸ’‘ reminder that this page lives under the perl manual, in section 3. Slay.

and that's the whole page, start to finish, every flag and every line accounted for, no skips, no shortcuts. 🌈

This doc came to you from perl v5.42.0, dated 2025-07-25, filed under Locale:...aketext(3) β€” mwah, go forth and localize responsibly πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from