Skip to content
Browse files

Fixed javascript language.

  • Loading branch information...
1 parent 848038c commit 728e903b297d3335c80f93d88e9425004a9d18c5 @sembrestels sembrestels committed May 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/lib/languages.js
View
4 js/lib/languages.js
@@ -4,7 +4,7 @@
*/
elgg.provide('elgg.config.translations');
-elgg.config.language = 'en';
+elgg.config.language = "<?php echo elgg_get_config('language'); ?>" || 'en';
/**
* Analagous to the php version. Merges translations for a
@@ -94,4 +94,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);

0 comments on commit 728e903

Please sign in to comment.
Something went wrong with that request. Please try again.