Language problems
Milos Prudek
milos.prudek@tiscali.cz
Sat, 05 Jan 2002 18:46:46 +0100
At login screen, IMP recognizes correctly my Czech language and displays
Czech login page. (It follows Accept charset of my Mozilla browser) I
can also change the login screen to any other language.
However, when I press "Log in" (actually "Prihlaseni do systemu" in
Czech), all subsequent dynamic pages display in English. Same problem
happens for all other languages.
I went through ../po/README and I established that:
Does gettext even work? FAIL
Does the local Horde file work? SUCCESS!
If I can display the login dialog in non-english languages, that means
that gettext works, doesn't it?
BTW, the "New user introduction" link in login page always displays in
Czech :-) no matter what Language I set in login screen and no matter
what Accept language my browser sends.
IMP 3.0, Horde 2.0, PHP 4.0.6 with PEAR 4.1.0
RedHat Linux 7.1
Mozilla 7.1, MSIE 5.5
--
Milos Prudek
>From jan@horde.org Date: Sat, 5 Jan 2002 18:46:35 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 91517 invoked from network); 5 Jan 2002 17:51:01 -0000
Received: from mailout09.sul.t-online.com (194.25.134.84)
by clark.horde.org with SMTP; 5 Jan 2002 17:51:01 -0000
Received: from fwd07.sul.t-online.de
by mailout09.sul.t-online.de with smtp
id 16MuyC-0004yB-07; Sat, 05 Jan 2002 18:51:00 +0100
Received: from linux.wg.de (320034214675-0001@[80.130.219.240]) by fmrl07.sul.t-online.com
with esmtp id 16Muy5-1dm1HFC; Sat, 5 Jan 2002 18:50:53 +0100
Received: from localhost (localhost [127.0.0.1])
by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g05Hka901332
for <imp@lists.horde.org>; Sat, 5 Jan 2002 18:46:36 +0100
Received: from 192.168.60.1 ( [192.168.60.1])
as user jan@linux by linux.wg.de with HTTP;
Sat, 5 Jan 2002 18:46:35 +0100
Message-ID: <1010252795.3c373bfbe4910@linux.wg.de>
Date: Sat, 5 Jan 2002 18:46:35 +0100
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <1010188325.6783.14.camel@yesthatguy.internal.gambitdesign.com> <1010236201.3c36fb297b961@linux.wg.de> <1010251336.27234.16.camel@yesthatguy.internal.gambitdesign.com>
In-Reply-To: <1010251336.27234.16.camel@yesthatguy.internal.gambitdesign.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] Using virtual hosts
Zitat von Brian Salomaki <brian@gambitdesign.com>:
> No, I hadn't seen it, thanks for the tip. What purpose then does the
> realm setting serve? From the comments in servers.php, it looks like
> it
> should be appended to the username during authentication.
Yes, that's correct. You can use it for example when you have different
mail servers with overlapping usernames which you want to access by one IMP
site.
> Also, for making a vinfo function, is there some variable I can access
> that will contain the key of the selected server? It seems that I need
> to return something like $imp['user'] . $servers[$key]['maildomain'] in
> order to append the domain information.
What ever you want that makes the usernames unique ones. I'm not sure right
now which PHP variable matches the virtual domain name, but you can call
horde/test.php?mode=phpinfo to see if you can find the variable.
> Thank you very much for the help,
> Brian Salomaki
>
> On Sat, 2002-01-05 at 08:10, Jan Schneider wrote:
> > Zitat von Brian Salomaki <brian@gambitdesign.com>:
> >
> > > I have just installed Horde 2 and IMP 3 from RPMS, and went through
> all
> > > of the config files to try to set it up, and am having one minor
> > > problem
> > > getting virtual email domains working.
> > >
> > > If I enter the full email address as my username
> > > (brian@gambitdesign.com), things work fine. What I'd like to do
> > > however, is have the domain selected separately, so the username is
> > > only
> > > the user part of the email address. I tried specifying the "realm"
> > > option within the array in servers.php, but for some reason the
> value
> > > here does not seem to be appended to the username, no matter what I
> > > enter. The horde log is reporting a failure for user brian. If I
> > > enter
> > > the full email address, and also select the domain from the servers
> > > list, then it still works, so it looks like the realm isn't being
> > > appended.
> > >
> > > Are there any other options I need to look at to make this work, or
> any
> > > troubleshooting things to look at?
> >
> > That's the behaviour 'realm' is expected to show.
> > Did you recognize the vhost hook in imp/config/conf.php?
> >
> > Jan.
> >
> > ::::::::::::::::::::::::::::::::::::::::
> > AMMMa AG - discover your knowledge
> > :::::::::::::::::::::::::::
> > Detmolder Str. 25-33 :: D-33604 Bielefeld
> > fon +49.521.96878-0 :: fax +49.521.96878-20
> > http://www.ammma.de
> > ::::::::::::::::::::::::::::::::::::::::::::::
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
>
>
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>
Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::