# File app/models/translation.rb, line 108
  def self.create_blanks
    languages = Language.find(:all)
    strings = {}
    trans = Translation.find(:all)
    trans.each do |t|
      strings[t.base] ||= {} unless strings.has_key?(t.base)
      strings[t.base][t.language_id] = t.translated
    end

    languages.each do |lang|
      strings.keys.each do |str|
        next if strings[str].has_key?(lang.id)
        Translation.new(:language_id => lang.id, :base => str).save
      end
    end
  end