aboutsummaryrefslogtreecommitdiff
path: root/js/lib/languages.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/languages.js')
-rw-r--r--js/lib/languages.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/lib/languages.js b/js/lib/languages.js
index 439df3e27..a8ba72c31 100644
--- a/js/lib/languages.js
+++ b/js/lib/languages.js
@@ -4,8 +4,6 @@
*/
elgg.provide('elgg.config.translations');
-elgg.config.language = "<?php echo elgg_get_config('language'); ?>" || 'en';
-
/**
* Analagous to the php version. Merges translations for a
* given language into the current translations map.
@@ -94,4 +92,4 @@ elgg.config.translations.init = function() {
elgg.reload_all_translations();
};
-elgg.register_hook_handler('boot', 'system', elgg.config.translations.init);
+elgg.register_hook_handler('boot', 'system', elgg.config.translations.init); \ No newline at end of file