[cgiapp] Internationalization with Locale::Maketext

Lyle webmaster at cosmicperl.com
Thu May 27 15:41:22 EDT 2010


Jani-Hur wrote:
> On 05/27/2010 12:45 PM, Jani-Hur wrote:
>
>  > [CGI::Application::Plugin::I18N]
>   
>> I also tried to use $self->localtext_lang, but I got this error:
>>
>> Error executing run mode 'test': Can't locate object method "get_handle"
>> via package "potest::I18N" (perhaps you forgot to load "potest::I18N"?)
>> at /usr/local/share/perl/5.10.1/CGI/Application/Plugin/I18N.pm line 271.
>>     
>
> The problem was missing Locale::Maketext::Lexicon module. After the 
> installation the (CAP::I18N) example started to work as expected.
>   

I'll add that as a dep.

> However now when I reload the test I found these warnings from Apache's 
> error log:
>
> Unrecognized escape \p passed through at (eval 24) line 1.
>   

I think I hit similar warnings and tried to patch some (was over a year 
ago, my memory isn't that clear), not generated by my code though :/


Lyle



More information about the cgiapp mailing list