[imp] setlocale() only works with xx_XX lang strings

Jan Schneider janmailing@gmx.de
Thu, 20 Sep 2001 17:43:41 +0200


The locale is automatically set in imp 2.3.7

Jan.

Zitat von Mauricio Cuenca <fauro@mindless.com>:

> I'm trying to do the same in IMP 2.3.7 but this version doesn't have a
> postconf.php and postconf.php3 files. What is the equivalent ?
> 
> Thanks,
> 
> _____________________
> Mauricio Cuenca
> mcuenca@Telesat.com.co
> 
> 
> ----- Original Message -----
> From: "Oliver Schulze L." <oliver@samera.com.py>
> To: <imp@lists.horde.org>
> Sent: Thursday, September 20, 2001 3:24 AM
> Subject: [imp] setlocale() only works with xx_XX lang strings
> 
> 
> > Hi,
> > I have
> > imp 2.2.6
> > horde 1.2.6
> > php-4.0.4pl1-7
> > redhat 7.0
> >
> > and I'm using the spanish language and the setlocale() function of php
> > only works
> > if the language string is in the form: xx_XX
> > In the spanish case this is: es_ES
> > In IMP, the language string is only 'es' and not 'es_ES' and this
> > make setlocale() to fail setting the locale.
> >
> > I solved the problem setting setlocale manually in:
> > /imp/lib/postconf.php3
> >
> > Is this normal behavior of the setlocale() function?
> >
> > To check this, login in IMP in a language diferent than English
> > and check the date strings after using this line in your defaults.php3:
> > $default->date_format = '%d/%b/%y';
> >
> > Thanks
> > Oliver
> >
> > --
> > Oliver Schulze L.
> > oliver@samera.com.py
> > Asuncion-Paraguay
> >
> >
> >
> > --
> > 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
> 
> 


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