aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/languages.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/lib/languages.js b/js/lib/languages.js
index 0ac654508..03ff4b817 100644
--- a/js/lib/languages.js
+++ b/js/lib/languages.js
@@ -25,9 +25,8 @@ elgg.add_translation = function(lang, translations) {
*/
elgg.reload_all_translations = function(language) {
var lang = language || elgg.get_language();
- elgg.getJSON('_css/js.php', {
+ elgg.getJSON('pg/js/languages%252f' + lang + '.js', {
data: {
- 'js': 'languages/' + lang,
'viewtype': 'default',
'lastcache': elgg.config.lastcache
},