rgettext is the tool which create po-files from your Ruby Scripts or Glade-2 XML file.
$rgettext hoge.rb -o hoge.pot $rgettext hoge.glade -o hoge.pot $rgettext *.rb *.glade -o hoge.pot
rmsgfmt is the tool which create mo-files from po-files.
$rmsgfmt ja.po -o hoge.mo
Keyword(s):
References:[Ruby-GetText-Package document for Developers]