[Catalyst] $c->loc problem with [_1]

Mario Minati mario.minati at googlemail.com
Wed Oct 31 20:46:32 GMT 2007


Hi,

I'm useing 
    $c->stash->{page}
        = $c->loc( "New branch for [_1]", $company->name );
to internationalize my catalyst app.

In my I18N/de.po I have:
msgid "New branch for [_1]"
msgstr "Neue Niederlassung für [_1]"

All the strings without [_1] are being translated as expected.

I'm very thankful for any tip.

Greets,
Mario



More information about the Catalyst mailing list