aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/languages.php
blob: c51d7bcb29e2db53446cd754941ff1d0b0de7e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * @uses $vars['language']
 */
global $CONFIG;

$language = $vars['language'];

$translations = $CONFIG->translations['en'];

if ($language != 'en') {
	$translations = array_merge($translations, $CONFIG->translations[$language]);
}

echo json_encode($translations);