aboutsummaryrefslogtreecommitdiffstats
path: root/test/lang.php
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2014-10-12 12:27:45 +0300
committerThomas Backlund <tmb@mageia.org>2014-10-12 12:27:45 +0300
commit9ce6d646ff718cd62f6434c9a4c94e450436612a (patch)
tree3ee82e5db7c0aee44a5573d9d17035c6ecac697d /test/lang.php
parenta0b2d09125d7911656fe4cb286f20643c4432281 (diff)
downloadwww-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.gz
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.bz2
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.tar.xz
www-9ce6d646ff718cd62f6434c9a4c94e450436612a.zip
Revert "Updated Estonian translation"
Diffstat (limited to 'test/lang.php')
-rw-r--r--test/lang.php9
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";