Olá pessoal, tudo bem?<div><br></div><div>Estou usando o Catalyst com o plugin I18N, que é um plugin para o Locale::Maketext::Simple. Na aplicação em questão estou utilizando um sistema de plugin, conforme sugerido pelo Sr. Eden Cardim ( <a rel="nofollow" href="http://bit.ly/ls3dI8" style="background-color:rgb(255,255,255);color:rgb(0,0,0)">http://bit.ly/ls3dI8</a> ), e surgiu a necessidade de carregar arquivos .[pm]o (arquivos que contem as traduções utilizadas pelo Locale::Maketext::Simple) adicionais através dos plugins.</div>
<div><br></div><div>Já tentei através do plugin, alterar o escopo para MyApp e chamar o método import do Locale::Maketext::Simple novamente, da seguinte forma:</div><div><br></div><div>./lib/MyApp/Plugin/Brazil.pm</div><div>
package MyApp::Plugin::Brazil;</div><div>...</div><div>package MyApp;</div><div>Locale::Maketext::Simple->import(</div><div>     Path: 'MyApp::Plugin::Brazil',</div><div>     %Catalyst::Plugin::I18N::options</div>
<div>);</div><div><br></div><div>1;</div><div><br></div><div>Mas não funcionou, também tentei contato com o mantenedor do pacote Locale::Maketext::Simple, mas não tive sucesso. Alguém já fez isso?</div><div><br></div><div>
Grato,</div><div>--<br>Geovanny Junio<br>Consultor de Tecnologia<br>geovanny (at) <a href="http://eutsiv.com" target="_blank">eutsiv.com</a><br>+55 31 9422-8885<br>+55 31 2519-8603<br><a href="http://www.eutsiv.com" target="_blank">www.eutsiv.com</a><br>
<br>Este e-mail pode conter informação privilegiada e confidencial. Se você não é destinatário da<br>mensagem, por favor apague a mensagem e comunique-nos o fato de imediato.<br><br>This e-mail contains information that may be<br>
privileged and confidential. If you are not the intended recipient, please<br>delete the e-mail and notify us immediately.<br>
</div>