code: def _translate_language_name(self, language_name):
          languages = self.languages()
          language_id = None
          for ideone_index, ideone_language in languages.items():
              if ideone_language.lower() == language_name.lower():
                  return ideone_index
          simple_languages = dict((k,v.split('(')[0].strip())
                                  for (k,v) in languages.items())
          for ideone_index, simple_name in simple_languages.items():
              if simple_name.lower() == language_name.lower():
                  return ideone_index
          language_choices = languages.values() + simple_languages.values()
          similar_choices = difflib.get_close_matches(language_name,
                                                      language_choices,
                                                      n=3,
                                                      cutoff=0.3)
          similar_choices_string = ", ".join(["'" + s + "'"
                                              for s in similar_choices])
          error_string = ("Couldn't match '%s' to an Ideone accepted language.\n"
                          "Did you mean one of the following: %s")
          raise IdeoneError(error_string % (language_name, similar_choices_string))