Use L10N and set the language to italian, then ensure that your
locale .po file has the italian names for the months:
msgid "January"
msgstr "<italian january here>"
etc.
The month name generation code automatically calls the global function
__('month name her', true), before giving back the select options!
Enjoy,
John
On Apr 17, 10:18 am, Ernesto <[email protected]> wrote:
> Hello.
>
> $form->month()
> $form->day()
>
> both return a selectbox, populated with english names.
> Is there a way to override the functions, making them return ita
> names?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---