Term::CLI::L10N::nl - Dutch localizations for Term::CLI
use Term::CLI::L10N; Term::CLI::L10N->set_language('nl'); say loc("ERROR"); # -> FOUT say Term::CLI::L10N->quant(1, 'dingen'); # -> 1 ding say Term::CLI::L10N->quant(1, 'leraren'); # -> 1 leraar
It implements its own
numerate method that reverses the meaning of its "form" arguments (because its easier to derive the singular noun from the plural in Dutch).
It defines its lexicon using Locale::Maketext::Lexicon::Gettext(3p) and the
Inherits its constructor from Term::CLI::L10N, though it should not be called directly.
- singularise ( Str )
- singularize ( Str )
Take Str as a plural noun and return its singular form.
- numerate ( $num, $plural [, $singular] )
Overrides the parent's
numeratemethod, see Locale::Maketext(3p).
Note that the $plural and $singular forms are reversed here, and that there is no
$negative(or, if given, it will be ignored).
Steven Bakker <firstname.lastname@example.org>.
Copyright (c) 2018 Steven Bakker; All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See "perldoc perlartistic."
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.