diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-01 22:11:20 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-01 22:11:20 +0000 |
commit | 4a2721032e5adb4ad2460befd9af77be4996d2a0 (patch) | |
tree | c635a38df6406055a1a0d111bdc02d4dcb41b71b /views/default/js/languages.php | |
parent | 7e4cc929919f05e5b31c6ff7d1ed9b8e53e8a95a (diff) | |
download | elgg-4a2721032e5adb4ad2460befd9af77be4996d2a0.tar.gz elgg-4a2721032e5adb4ad2460befd9af77be4996d2a0.tar.bz2 |
Refs #2538: Added some models, inheritance, more bootstrapping code
git-svn-id: http://code.elgg.org/elgg/trunk@7183 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/js/languages.php')
-rw-r--r-- | views/default/js/languages.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/views/default/js/languages.php b/views/default/js/languages.php new file mode 100644 index 000000000..34367aaf1 --- /dev/null +++ b/views/default/js/languages.php @@ -0,0 +1,9 @@ +<?php
+/**
+ * @uses $vars['language']
+ */
+global $CONFIG;
+
+$language = $vars['language'];
+
+echo json_encode($CONFIG->translations[$language]);
\ No newline at end of file |