summaryrefslogtreecommitdiff
path: root/lib/default.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-03 12:08:07 -0800
committerBrion Vibber <brion@pobox.com>2010-03-03 12:10:43 -0800
commit0881eba80eabfea65919be2f3d65235ccd0b5eb6 (patch)
treefb35ebd6ac9f762720fa48c85436b1b0d6d1142e /lib/default.php
parentc82efb7fd8ba28b854020821246878fc0a8cec2b (diff)
Language setting fixes:
- switch 'en_US' to 'en', fixes the "admin panel switches to Arabic" bug - tweak setting descriptions to clarify that most of the time we'll be using browser language - add a backend switch to disable language detection (should this be exposed to ui?)
Diffstat (limited to 'lib/default.php')
-rw-r--r--lib/default.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/default.php b/lib/default.php
index 7b50242ae..b7216045c 100644
--- a/lib/default.php
+++ b/lib/default.php
@@ -40,7 +40,8 @@ $default =
'logdebug' => false,
'fancy' => false,
'locale_path' => INSTALLDIR.'/locale',
- 'language' => 'en_US',
+ 'language' => 'en',
+ 'langdetect' => true,
'languages' => get_all_languages(),
'email' =>
array_key_exists('SERVER_ADMIN', $_SERVER) ? $_SERVER['SERVER_ADMIN'] : null,