Add I18N wrapper module to use .po files

master
Daniel Berteaud 9 years ago
parent cb712f43cd
commit 321ec4ee0c
  1. 11
      lib/Vroom/I18N.pm

@ -0,0 +1,11 @@
package Vroom::I18N;
use base 'Locale::Maketext';
use File::Basename qw/dirname/;
use Locale::Maketext::Lexicon {
_auto => 1,
_decode => 1,
'*' => [Gettext => dirname(__FILE__) . '/I18N/*.po']
};
1;
Loading…
Cancel
Save