def get_entry_for(entry, language)
      if entry.length > 1
        entry_string = get_entry_for_rec(entry[1..-1], language, hashes[language][entry[0]])
      else
        entry_string = hashes[language][entry[0]]
      end

      if entry_string.kind_of?(Array)
        entry_string = entry_string.map(&:inspect).join(', ')
      end
      entry_string
    end
def get_entry_for(entry, language)
      if entry.length > 1
        entry_string = get_entry_for_rec(entry[1..-1], language, hashes[language][entry[0]])
      else
        entry_string = hashes[language][entry[0]]
      end

      if entry_string.kind_of?(Array)
        entry_string = entry_string.map(&:inspect).join(', ')
      end
      entry_string
    end
Takes in a locale code and returns the string for that language