def get_lang_dict(fortype, name=None):
 from frappe.translate import get_dict
 return get_dict(fortype, name)

def get_lang_dict ( fortype , name = None ) : from frappe . translate import get_dict return get_dict ( fortype , name )
returns all languages in dict format .