Re: [SMARTY] Html_select_date: month language
| From: | messju mohr | Date: | Sat, 15 Mar 2003 21:23:38 +0000 |
| Subject: | Re: [SMARTY] Html_select_date: month language | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8671@lists.php.net to get a copy of this message | ||
On Sat, Mar 15, 2003 at 05:12:06PM -0400, Pino Farese wrote:
> Hello:
>
> Is possible for html_select_date to output the month names in another
> language different than the system language?
the monthname is printed according to your locale-settings.
see: http://www.php.net/manual/en/function.setlocale.php
have fun
messju
> Or passing an array with the month names on it?
>
> Ie
>
> {html_select_date monthoutput=$monthnames ...}
>
> Where $monthnames is an array with the month names in any other language?
>
> Thanks
>
>
> Giuseppe