'Get translation object if exists of current doctype name in the default language'

def get_name_translation(self):

    return frappe.get_value(u'Translation', {u'source_name': self.doc_type, u'language': (frappe.local.lang or u'en')}, [u'name', u'target_name'], as_dict=True)
