Locale::Maketext::Lexicon::Msgcat(3pm)

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 2
    print $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.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8–10
  7. 11
  8. 12–13
  9. Arch

Authors

Audrey Tang <[email protected]>

Authors

•

Clinton Gormley <[email protected]>

•

Audrey Tang <[email protected]>

From perl-locale-maketext-lexicon 1.00-5 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.