diff options
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 |