The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pcore::Core::L10N - localization subsystem.

SYNOPSIS

    use Pcore -l10n => 'Domain';

    say l10n 'text';
    say l10n 'text', 'en';

    say l10np 'text', 'text plural', 3;
    say l10np 'text', 'text plural', 3, 'en';

    my $const = l10n_ 'text';
    say const;
    say l10n $const;

    my $const_plural = l10np_ 'text', 'text_plural';
    say $const_plural;
    say l10n $const_plural;
    say l10n $const_plural, 'en';
    say l10np $const_plural, 3;
    say l10np $const_plural, 3, 'en';

    say $l10n->{'text'};
    say $l10n->{$const};
    say $l10n->{[$const, 'en']};

    say $l10n->{[ $const_plural, 3 ]};
    say $l10n->{[ $const_plural, 3, 'en' ]};

DESCRIPTION

ATTRIBUTES

METHODS

SEE ALSO

AUTHOR

zdm <zdm@softvisio.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by zdm.