Locale:...Generic(3)
β¨ NAME β¨
Ok bestie, this is Locale:...Generic(3) β brought to you by User Contributed Perl Documentation β and it's the manual page for Locale::Maketext::Extract::Plugin::Generic, aka the Generic template parser. Lowkey iconic, highkey useful. π
π VERSION π
version 1.00
π SYNOPSIS π
Here's the invite code, bestie:
$plugin = Locale::Maketext::Extract::Plugin::Generic->new(
$lexicon # A Locale::Maketext::Extract object
@file_types # Optionally specify a list of recognised file types
)
$plugin->extract($filename,$filecontents);
π¦ DESCRIPTION π¦
It extracts strings to localise from generic templates. That's the whole vibe: find the localisable strings, pull them out. Periodt. β¨
π SHORT PLUGIN NAME π
generic
π VALID FORMATS π
Strings inside {{...}} are extracted. If it's wrapped in double curly braces, it's getting extracted β simple as that. π«Ά
π KNOWN FILE TYPES π
All file types. No gatekeeping, bestie. π
π₯ SEE ALSO π₯
xgettext.plβ for extracting translatable strings from common template systems and perl source files.Locale::Maketext::LexiconLocale::Maketext::Extract::Plugin::BaseLocale::Maketext::Extract::Plugin::FormFuLocale::Maketext::Extract::Plugin::PerlLocale::Maketext::Extract::Plugin::TT2Locale::Maketext::Extract::Plugin::YAMLLocale::Maketext::Extract::Plugin::MasonLocale::Maketext::Extract::Plugin::TextTemplate
π AUTHORS π
Audrey Tang <cpan@audreyt.org> β that's the author, bestie. π
πΈ COPYRIGHT πΈ
Copyright 2002-2013 by Audrey Tang <cpan@audreyt.org>.
This software is released under the MIT license cited below.
π The "MIT" License π
Legal moment, bestie. Here's the license, preserved exactly because we do not play with license terms:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
π AUTHORS π
- Clinton Gormley
<drtech@cpan.org> - Audrey Tang
<cpan@audreyt.org>
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
The MIT (X11) License
π That's the whole page, bestie. Served fresh from perl v5.40.2, dated 2025-01-03. Slay. πβ¨
π¦ where this page comes from
- alpine 3.22: perl-locale-maketext-lexicon-doc 1.00-r6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms