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

include_once '../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";