#!/usr/bin/perl use Mojolicious::Lite; BEGIN { $ENV{MOJO_I18N_DEBUG} = 1 }; plugin I18N => { namespace => 'App::I18N', support_url_langs => [qw(en fr pt_br)] }; get '/' => 'index'; app->start; __DATA__ @@ index.html.ep %= l 'hello world'