aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/languages.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js/languages.php')
-rw-r--r--views/default/js/languages.php9
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