Locale::Maketext::Lexicon::Msgcat3pm
Msgcat catalog parser maketext
Usage
package Hello::I18N;use base 'Locale::Maketext';use Locale::Maketext::Lexicon {en => ['Msgcat', 'en_US/hello.pl.m'],};package main;my $lh = Hello::I18N->get_handle('en');print $lh->maketext(1,2); # set 1, msg 2print $lh->maketext("1,2"); # same thing
Version
version 1.00
Overview
This module parses one or more Msgcat catalogs in plain text format, and returns a Lexicon hash, which may be looked up either with a two-argument form ("$set_id, $msg_id") or as a single string ("$set_id,$msg_id").
Notes
All special characters ("[", "]" and "~") in catalogs will be escaped so they lose their magic meanings. That means "->maketext" calls to this lexicon will not take any additional arguments.
Copyright and license
This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
The MIT (X11) License
Releases
12 releases since Debian 3.1 (Sarge); the text changed 8 times.