Provided by: libcatmandu-i18n-perl_0.01-2_all
NAME
Locale::Maketext::Lexicon::CatmanduConfig - Use Catmandu config files as a Maketext lexicon
SYNOPSIS
Catmandu->{config}->{locale} = { en => { hello => "Hello" }, _style => "gettext" }; package MyI18N; use parent 'Locale::Maketext'; use Locale::Maketext::Lexicon { en => [ CatmanduConfig => ["locale.en"] ], _style => "gettext" };
NOTES
* the value for CatmanduConfig is an array because Locale::Maketext::Lexicon interprets regular strings as files (to be ignored) * config parameter "_style" can be set to "gettext" to make use of placeholders like in Locale::Maketext::Lexicon::Gettext perl v5.36.0 2023-02Locale::Maketext::Lexicon::CatmanduConfig(3pm)