Locale::Maketext::Lexicon::CatmanduConfig3pm
Use catmandu config files as a maketext lexicon
Usage
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
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).