Skip to content

Instantly share code, notes, and snippets.

@bessarabov
Created December 24, 2010 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bessarabov/754337 to your computer and use it in GitHub Desktop.
Save bessarabov/754337 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl -w
use strict;
use Locale::Maketext::Extract;
my $Ext = Locale::Maketext::Extract->new();
$Ext->extract_file("JustTest.pm");
$Ext->compile();
$Ext->write_po("messages.po");
package JustTest;
gettext('test ');
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment