    # File lib/ramaze/contrib/gettext.rb, line 88
        def self.store(*locales)
          keys = []
          dictionary.each do |locale, dict|
            keys.concat dict.keys
          end
          keys.delete ""

          data = ::GetText::RGetText.generate(keys.compact.uniq.sort.map {|x| [x] })
          file = (trait[:file] % trait[:default_language]) + '.pot'
          File.open(file, File::CREAT|File::TRUNC|File::WRONLY) do |fd|
            fd.write data
          end
        rescue Errno::ENOENT => e
          Log.error e
        end