Re: [SMARTY] html_select_date month names

From: Date: Fri, 12 Sep 2003 15:58:35 +0000
Subject: Re: [SMARTY] html_select_date month names
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10199@lists.php.net to get a copy of this message
Hello! I managed to setlocale(), but strangely I must use setlocale(LC_TIME, 'po') instead of 'pt_PT'... very strange! As a note, the months are in portuguese alright, but in lowercase... also strange behaviour, since normally (english) it would return the first letter capitalized. Oh well :-) Thank you! Raul ----- Original Message ----- From: "Katana" <katana@katana-inc.com> To: <smarty-general@lists.php.net> Sent: Friday, September 12, 2003 10:17 AM Subject: Re: [SMARTY] html_select_date month names > RC> I am trying to use html_select_date with month names in Portuguese. Is > RC> there a simple way to do it? > You need to use setlocale in your script. I don't know the exact > locale string for portugese, but for french it would be: > setlocale(LC_TIME, 'fr_FR'); > > Katana > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.smarty.general (#10199) next »