AW: [horde] gettext not working?

Alexander Knauer dbadmin at avenet.stw.uni-erlangen.de
Wed Nov 7 03:22:37 PST 2001


I had the same "problem", just have a look in /etc/locale.gen, there you
have to enter all languages
you need (standard there is only one entry for english language), after
this run locale-gen. Then gettext should work

alex


> -----Ursprüngliche Nachricht-----
> Von: Yavuz Aydin [mailto:yavuz at w3b.nl] 
> Gesendet: Mittwoch, 7. November 2001 12:15
> An: horde at lists.horde.org
> Betreff: [horde] gettext not working?
> 
> 
> Horde/IMP still don't do anything with the language change I 
> make on the login 
> screen or in the prefs.
> 
> As mentioned in the file horde/imp/po/README I have started 
> testing if gettext 
> is working.
> 
> > Do you have any .mo files? Usually in /usr/share/locale/?
> Yes I do.
> 
> > Does gettext even work?
> > Get a string to translate,
> > $ strings /bin/tar | grep Memory
> 
> Nah, does report nothing. However:
> $ strings /bin/tar | grep memory
> reports:
> memory exhausted
> Cannot allocate memory for blocking factor %d
> 
> > $ (LANG=nl; gettext tar "Memory exhausted" )
> Nothing happens. So I try:
> $ (LANG=nl; gettext tar "memory exhausted" )
> nothing happens
> 
> I change memory exhausted in something different I have 
> extracted from the 
> file /usr/share/locale/nl/LC_MESSAGES/tar.mo, but nothing happens.
> 
> All other tests don't report the right text.
> 
> So does gettext work? No I think, but why? This is a fresh 
> install of Mandrake 
> 8.1
> 
> $ rpm -qa|grep gettext
> gives:
> gettext-0.10.39-2mdk
> gettext-base-0.10.39-2mdk
> perl-gettext-1.0-9mdk
> gettext-devel-0.10.39-2mdk
> 
> Help is appreciated.
> 
> Best Regards,
> 
> Yavuz Aydin
> yavuz at w3b.nl
> 
> -- 
> Horde mailing list: http://horde.org/horde/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 
> 



>From andreas at dahlen.ws Date: Thu,  8 Nov 2001 11:05:44 +0100
Return-Path: <andreas at dahlen.ws>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 54799 invoked from network); 8 Nov 2001 10:02:50 -0000
Received: from as1-5-2.b.bonet.se (HELO tena.dahlen.ws) (194.236.143.39)
  by clark.horde.org with SMTP; 8 Nov 2001 10:02:50 -0000
Received: from tena.dahlen.ws (localhost.localdomain [127.0.0.1])
	by tena.dahlen.ws (8.12.1/8.12.1) with ESMTP id fA8A5i3Q006701
	for <horde at lists.horde.org>; Thu, 8 Nov 2001 11:05:44 +0100
Received: (from apache at localhost)
	by tena.dahlen.ws (8.12.1/8.12.1/Submit) id fA8A5iVB006700
	for horde at lists.horde.org; Thu, 8 Nov 2001 11:05:44 +0100
X-Authentication-Warning: tena.dahlen.ws: apache set sender to andreas at dahlen.ws using -f
Received: from 195.163.68.231 ( [195.163.68.231])
	as user anj at localhost by www.dahlen.ws with HTTP;
	Thu,  8 Nov 2001 11:05:44 +0100
Message-ID: <1005213944.3bea58f8c5fa7 at www.dahlen.ws>
Date: Thu,  8 Nov 2001 11:05:44 +0100
From: =?ISO-8859-1?B?QW5kcmVhcyBEYWhs6W4=?To: horde at lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.0.0-cvs
Subject: Summary instead of login on first access

Hello!

I've configured Horde to use imp for authentication (removed the 
comments on the two first imp-lines in registry.php) and it works 
good.

As it is now I get the login-screen from IMP when I access /horde for 
the first time (i.e. not yet logged in). Instead of this I wants to 
get the summary-view at the first access to /horde.  Is this 
possible? How do I configure it?

I use horde, imp, kronolith, nag and turba from CVS. They are all 
updated on 7th november.

/Andreas


>From jan at horde.org Date: Thu,  8 Nov 2001 11:12:27 +0100
Return-Path: <jan at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 55594 invoked from network); 8 Nov 2001 10:18:31 -0000
Received: from mailout05.sul.t-online.com (HELO mailout05.sul.t-online.de) (194.25.134.82)
  by clark.horde.org with SMTP; 8 Nov 2001 10:18:31 -0000
Received: from fwd05.sul.t-online.de 
	by mailout05.sul.t-online.de with smtp 
	id 161mGU-0002zq-00; Thu, 08 Nov 2001 11:18:30 +0100
Received: from linux.wg.de (320034214675-0001@[217.80.111.3]) by fmrl05.sul.t-online.com
	with esmtp id 161mGB-1T4lJQC; Thu, 8 Nov 2001 11:18:11 +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 fA8ACRk15546
	for <horde at lists.horde.org>; Thu, 8 Nov 2001 11:12:27 +0100
Received: from 62.225.101.66 ( [62.225.101.66])
	as user jan at mail.wg.de by jan.dip.ammma.net with HTTP;
	Thu,  8 Nov 2001 11:12:27 +0100
Message-ID: <1005214347.3bea5a8b30040 at jan.dip.ammma.net>
Date: Thu,  8 Nov 2001 11:12:27 +0100
From: Jan Schneider <jan at horde.org>
To: horde at lists.horde.org
References: <1005213944.3bea58f8c5fa7 at www.dahlen.ws>
In-Reply-To: <1005213944.3bea58f8c5fa7 at www.dahlen.ws>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001 at t-dialin.net
Subject: Re: [horde] Summary instead of login on first access

Zitat von Andreas Dahlén <andreas at dahlen.ws>:

> Hello!
> 
> I've configured Horde to use imp for authentication (removed the 
> comments on the two first imp-lines in registry.php) and it works 
> good.
> 
> As it is now I get the login-screen from IMP when I access /horde for 
> the first time (i.e. not yet logged in). Instead of this I wants to 
> get the summary-view at the first access to /horde.  Is this 
> possible? How do I configure it?

How do you want to show the summary screen if user isn't yet logged in?

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
::::::::::::::::::::::::::::::::::::::::::::::


>From andreas at dahlen.ws Date: Thu,  8 Nov 2001 13:27:50 +0100
Return-Path: <andreas at dahlen.ws>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 64419 invoked from network); 8 Nov 2001 12:24:54 -0000
Received: from as1-5-2.b.bonet.se (HELO tena.dahlen.ws) (194.236.143.39)
  by clark.horde.org with SMTP; 8 Nov 2001 12:24:54 -0000
Received: from tena.dahlen.ws (localhost.localdomain [127.0.0.1])
	by tena.dahlen.ws (8.12.1/8.12.1) with ESMTP id fA8CRo3Q001529
	for <horde at lists.horde.org>; Thu, 8 Nov 2001 13:27:50 +0100
Received: (from apache at localhost)
	by tena.dahlen.ws (8.12.1/8.12.1/Submit) id fA8CRogc001528
	for horde at lists.horde.org; Thu, 8 Nov 2001 13:27:50 +0100
X-Authentication-Warning: tena.dahlen.ws: apache set sender to andreas at dahlen.ws using -f
Received: from 195.163.68.231 ( [195.163.68.231])
	as user anj at localhost by www.dahlen.ws with HTTP;
	Thu,  8 Nov 2001 13:27:50 +0100
Message-ID: <1005222470.3bea7a460edf9 at www.dahlen.ws>
Date: Thu,  8 Nov 2001 13:27:50 +0100
From: =?ISO-8859-1?B?QW5kcmVhcyBEYWhs6W4=?To: horde at lists.horde.org
References: <1005213944.3bea58f8c5fa7 at www.dahlen.ws> <1005214347.3bea5a8b30040 at jan.dip.ammma.net>
In-Reply-To: <1005214347.3bea5a8b30040 at jan.dip.ammma.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.0.0-cvs
Subject: Re: [horde] Summary instead of login on first access

I've added a part to the summary-screen with general/public 
information.  I've also modified kronolith to mark events as public, 
i.e. they should be seen in the summary view, without requiering that 
you are logged in.

/Andreas

Quoting Jan Schneider <jan at horde.org>:

> Zitat von Andreas Dahlén <andreas at dahlen.ws>:
> 
> > Hello!
> > 
> > I've configured Horde to use imp for authentication (removed the
> 
> > comments on the two first imp-lines in registry.php) and it works
> 
> > good.
> > 
> > As it is now I get the login-screen from IMP when I access /horde
> for 
> > the first time (i.e. not yet logged in). Instead of this I wants
> to 
> > get the summary-view at the first access to /horde.  Is this 
> > possible? How do I configure it?
> 
> How do you want to show the summary screen if user isn't yet logged
> in?
> 
> Jan.
> 


>From jan at horde.org Date: Thu,  8 Nov 2001 13:30:12 +0100
Return-Path: <jan at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 66804 invoked from network); 8 Nov 2001 12:38:35 -0000
Received: from mailout06.sul.t-online.com (HELO mailout06.sul.t-online.de) (194.25.134.19)
  by clark.horde.org with SMTP; 8 Nov 2001 12:38:35 -0000
Received: from fwd03.sul.t-online.de 
	by mailout06.sul.t-online.de with smtp 
	id 161oRx-00052F-06; Thu, 08 Nov 2001 13:38:29 +0100
Received: from linux.wg.de (320034214675-0001@[217.80.111.3]) by fmrl03.sul.t-online.com
	with esmtp id 161oRf-1Fh8l6C; Thu, 8 Nov 2001 13:38:11 +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 fA8CUDk16162
	for <horde at lists.horde.org>; Thu, 8 Nov 2001 13:30:13 +0100
Received: from 62.225.101.66 ( [62.225.101.66])
	as user jan at mail.wg.de by jan.dip.ammma.net with HTTP;
	Thu,  8 Nov 2001 13:30:12 +0100
Message-ID: <1005222612.3bea7ad4e9901 at jan.dip.ammma.net>
Date: Thu,  8 Nov 2001 13:30:12 +0100
From: Jan Schneider <jan at horde.org>
To: horde at lists.horde.org
References: <1005213944.3bea58f8c5fa7 at www.dahlen.ws> <1005214347.3bea5a8b30040 at jan.dip.ammma.net> <1005222470.3bea7a460edf9 at www.dahlen.ws>
In-Reply-To: <1005222470.3bea7a460edf9 at www.dahlen.ws>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001 at t-dialin.net
Subject: Re: [horde] Summary instead of login on first access

Zitat von Andreas Dahlén <andreas at dahlen.ws>:

> I've added a part to the summary-screen with general/public 
> information.  I've also modified kronolith to mark events as public, 
> i.e. they should be seen in the summary view, without requiering that 
> you are logged in.

I this case you should also modify /horde/index.php to not redirect users 
to login.php if they don't have authenticated yet.

Jan.

> 
> /Andreas
> 
> Quoting Jan Schneider <jan at horde.org>:
> 
> > Zitat von Andreas Dahlén <andreas at dahlen.ws>:
> > 
> > > Hello!
> > > 
> > > I've configured Horde to use imp for authentication (removed the
> > 
> > > comments on the two first imp-lines in registry.php) and it works
> > 
> > > good.
> > > 
> > > As it is now I get the login-screen from IMP when I access /horde
> > for 
> > > the first time (i.e. not yet logged in). Instead of this I wants
> > to 
> > > get the summary-view at the first access to /horde.  Is this 
> > > possible? How do I configure it?
> > 
> > How do you want to show the summary screen if user isn't yet logged
> > in?
> > 
> > Jan.
> > 
> 
> -- 
> Horde mailing list: http://horde.org/horde/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 
> 


:::::::::::::::::::::::::::::::::::::::: 
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
::::::::::::::::::::::::::::::::::::::::::::::




More information about the horde mailing list