Sorry to bother you with this crap example but I'm at my wit's end.
My expectations would be that the last line below prints "zzzz zz foo".
% cat zz.po
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "demo works"
msgstr "zzzz zzzzz"
msgid "back to [_1]."
msgstr "zzzz zz [_1]."
% perl -le '
use Locale::Maketext::Simple (
Class => "X",
Path => ".",
);
print $Locale::Maketext::Simple::VERSION;
my $lh = X::I18N->get_handle("zz");
print $lh->maketext("demo works");
print $lh->maketext("back to [_1].", "foo");
'
0.18
zzzz zzzzz
back to foo.
Thanks,