- or download this
#!/usr/bin/perl
...
@@ index.html.ep
%= l 'hello world'
- or download this
App
|+- App.pl
|- I18N
| |- fr.pm
| +- pt_br.pm
- or download this
use Mojolicious::Lite;
...
@@ index.html.ep
%= l 'hello world'
- or download this
package App::I18N::pt_br;
use Mojo::Base 'Locale::Maketext';
use utf8;
our %Lexicon = ('hello world'=> 'Olá Mundo');