Koozali.org formerly Contribs.org

Default values on IMP login page

1111

Default values on IMP login page
« on: July 31, 2004, 01:23:02 PM »
The Horde site is a little vague and there don't seem to be any threads here addressing this minor issue:

I want to change the default language displayed on the webmail login page language pull down menu from English(US) to English(GB). I can't seem to find the appropriate spot to edit within the templates to do this.

I'm not referring to a user's ability to select a language in the options area after they login and save that. I'm merely referring to the default language displayed on the main login page.

Any clues?

Offline mrjhb3

  • *
  • 1,187
    • John Bennett Services
Default values on IMP login page
« Reply #1 on: July 31, 2004, 10:29:44 PM »
How about changing the lang.php file in this directory, /home/httpd/html/horde/config.  I just tested this with IE 6 and here is what I am seeing.
No matter what default language I set, I always see it in english.  But, here is why, in IE under tools, general, languages, my default is set to en_US.  If I remove this, then go back to webmail, then the default language that I set in the lang.php file shows up as expected.  Once I re-add my defaults back to IE, then english is displayed.

Here is an snippet from the lang.php file

<snip>
/* The langauge to fall back on if we cannot determine one any other
   way (user choice, preferences, HTTP_ACCEPT_LANGUAGE). */
$nls['defaults']['language'] = 'en_US';  
</snip>

Good Luck,

JB
......