[SP-pm] Catalyst e Locale::Maketext::Simple

Lindolfo Lorn Rodrigues lorn at lornlab.org
Thu Feb 2 05:20:39 PST 2012


Valeu pela solução Geovanny :)

2012/2/2 Geovanny Junio :: eutsiv <geovanny em eutsiv.com>

> Olá pessoal,
>
> Alguns dias atrás mandei a seguinte mensagem para a lista:
> http://mail.pm.org/pipermail/saopaulo-pm/2012/016261.html
>
> Descobri que o Locale::Maketext::Simple não permite a importação
> novamente dos arquivos .[pm]o no mesmo namespace, então resolvi da seguinte
> maneira:
>
> ./lib/MyApp/Plugin/Brazil.pm
> package MyApp::Plugin::Brazil;
> ...
> package MyApp::I18N;
> Locale::Maketext::Lexicon->import(
>      'pt-br'	=> [ Gettext => '/path/to/MyApp/Plugin/Brazil/I18N/pt_BR.po' ]
> );
>
> 1;
>
>
> Grato,
> --
> Geovanny Junio
> Consultor de Tecnologia
> geovanny (at) eutsiv.com
> +55 31 9422-8885
> +55 31 2519-8603
> www.eutsiv.com
>
> Este e-mail pode conter informação privilegiada e confidencial. Se você
> não é destinatário da
> mensagem, por favor apague a mensagem e comunique-nos o fato de imediato.
>
> This e-mail contains information that may be
> privileged and confidential. If you are not the intended recipient, please
> delete the e-mail and notify us immediately.
>
> =begin disclaimer
>   Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
>  SaoPaulo-pm mailing list: SaoPaulo-pm em pm.org
>  L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
> =end disclaimer
>
>
-------------- Pr?xima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20120202/cf80e9c5/attachment.html>


More information about the SaoPaulo-pm mailing list