diff options
Diffstat (limited to 'test/lang.php')
-rw-r--r-- | test/lang.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lang.php b/test/lang.php new file mode 100644 index 000000000..077f8ad92 --- /dev/null +++ b/test/lang.php @@ -0,0 +1,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"; |