aboutsummaryrefslogtreecommitdiffstats
path: root/test/lang.php
blob: bf749217de6d5096b8e7705e5d7d9a4c9adbab43 (plain)
1
2
3
4
5
6
7
8
9
<pre><?php
/**
*/

include_once '../lib/localeDetection.class.php';
include_once '../langs.inc.php';

echo 'Accept-Language: ', $_SERVER['HTTP_ACCEPT_LANGUAGE'], "\n\n";
echo "Relocate `community` with `en` as a default: ", relocate($langs, 'community', 'en', null, false), "\n";