replaced methd
diff --git a/erpnext/public/js/controllers/load_languages.js b/erpnext/public/js/controllers/load_languages.js
index e4de263..eb70f3c 100644
--- a/erpnext/public/js/controllers/load_languages.js
+++ b/erpnext/public/js/controllers/load_languages.js
@@ -7,7 +7,7 @@
 	}
 
 	if(!frappe.languages) {
-		frappe.languages = frappe.boot.languages;
+		frappe.languages = frappe.get_languages_dict();
 		update_language_select();
 	} else {
 		update_language_select();