Locale:...aScript(3)
β¨ Locale::TextDomain::OO::Util::JavaScript(3) β¨
okay bestie, welcome to the User Contributed Perl Documentation section of the library π this is the page for Locale::TextDomain::OO::Util::JavaScript and she is specifically about the JavaScript side of the house. buckle up π
πΈ NAME πΈ
Locale::TextDomain::OO::Util::JavaScript β literally just: how to use the JavaScript part π
π¦ VERSION π¦
4.001 β that's the one, no cap.
$Id: OO.pm 502 2014-05-12 20:19:51Z steffenw $
$HeadURL:
svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/module/trunk/lib/Locale/TextDomain/OO.pm
$
β¨ SYNOPSIS β¨
so inside this distribution there's a whole directory named javascript π for the full tea, go look at Locale::TextDomain::OO::JavaScript.
and this script? she depends on <http://jquery.com/> β yes, that jQuery, the OG π
π DESCRIPTION π
this package also contains the utils, but as JavaScript π§ like, same energy, different language.
π SUBROUTINES/METHODS π
here's the whole vibe, verbatim, copy it exactly bestie:
var constants = new localeTextDomainOOUtilConstants();
var lexiconKeySeparator = constants.lexiconKeySeparator();
var pluralSeparator = constants.pluralSeparator();
var msgKeySeparator = constants.msgKeySeparator();
var keyUtil = new localeTextDomainOOUtilJoinSplitLexiconKeys();
var lexiconKey = keyUtil.joinLexiconKey({
'language' : 'de', // default 'i-default'
'domain' : 'test', // default undefined
'category' : 'LC_MESSAGES', // default undefined
'project' : 'shop' // default undefined
});
var msgKey = keyUtil.joinMessageKey({
'msgctxt' : 'context', // default undefined
'msgid' : 'phrase or singular phrase', // default ''
'msgid_plural' : 'plural phrase', // default undefined
});
okay notice the defaults in those comments? 'i-default' for language, '' for msgid, and everything else defaults to undefined π don't @ me, that's just how she is.
π DIAGNOSTICS π
none β she's quiet, she's chill, no drama π
π«Ά CONFIGURATION AND ENVIRONMENT π«Ά
none β nothing to set up, nothing to export, we love a low-maintenance icon π
π DEPENDENCIES π
that's it. that's the whole list. iconic.
π INCOMPATIBILITIES π
not known β as far as anyone can tell, she plays nice with everybody π
π BUGS AND LIMITATIONS π
not known β no known issues, bestie, we're thriving β¨
β SEE ALSO β
Locale::TextDoamin::OO::JavaScript
yes, that's spelled exactly how it is in the original, i'm not touching it π go look it up, iykyk
πΈ AUTHOR πΈ
Steffen Winkler π
π LICENSE AND COPYRIGHT π
Copyright (c) 2014 - 2018, 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. π«Ά
and that's the whole page, bestie!! this came to you from perl v5.42.0 on 2025-07-25 β slay, periodt π β¨π
π¦ where this page comes from
- fedora 43: js-Locale-TextDomain-OO-Util 4.002-19.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms