def get_full_dict(lang):
 if (not lang):
  return {}
 if (getattr(frappe.local, u'lang_full_dict', None) is not None):
  return frappe.local.lang_full_dict
 frappe.local.lang_full_dict = load_lang(lang)
 try:
  user_translations = get_user_translations(lang)
 except Exception:
  user_translations = None
 if user_translations:
  frappe.local.lang_full_dict.update(user_translations)
 return frappe.local.lang_full_dict

def get_full_dict ( lang ) : if ( not lang ) : return { } if ( getattr ( frappe . local , u'lang_full_dict' , None ) is not None ) : return frappe . local . lang_full_dict frappe . local . lang_full_dict = load_lang ( lang ) try : user_translations = get_user_translations ( lang ) except Exception : user_translations = None if user_translations : frappe . local . lang_full_dict . update ( user_translations ) return frappe . local . lang_full_dict
load and return the entire translations dictionary for a language from :meth:frape .