diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-03 16:03:19 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-03 16:03:19 +0000 |
| commit | 9e4123cc2a54fffb671ec67577b46046a16d899c (patch) | |
| tree | 845c79ec43a2a0f2afe4a59b3e7c68a2b7e82b86 /roundcubemail/config | |
| parent | 07a784e33e1670162b315139ff52ecdf825429e5 (diff) | |
Auto-detect client language and timezone if desired by config/prefs
git-svn-id: https://svn.roundcube.net/trunk@1722 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/config')
| -rw-r--r-- | roundcubemail/config/main.inc.php.dist | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/roundcubemail/config/main.inc.php.dist b/roundcubemail/config/main.inc.php.dist index 09fad199c..fcf7e8fff 100644 --- a/roundcubemail/config/main.inc.php.dist +++ b/roundcubemail/config/main.inc.php.dist @@ -129,8 +129,9 @@ $rcmail_config['double_auth'] = false; // please provide a string of exactly 24 chars. $rcmail_config['des_key'] = 'rcmail-!24ByteDESkey*Str'; -// the default locale setting -$rcmail_config['language'] = 'en_US'; +// the default locale setting (leave empty for auto-detection) +// RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR +$rcmail_config['language'] = null; // use this format for short date display $rcmail_config['date_short'] = 'D H:i'; @@ -338,7 +339,7 @@ $rcmail_config['skin'] = 'default'; $rcmail_config['pagesize'] = 40; // use this timezone to display date/time -$rcmail_config['timezone'] = intval(date('O'))/100 - date('I'); +$rcmail_config['timezone'] = 'auto'; // is daylight saving On? $rcmail_config['dst_active'] = (bool)date('I'); |
