Monday, July 27, 2009

Re: Display months in datetime fields in german

Hello,

> is it somehow possible to display the months of a datetime field in a
> view in german?

Sure.

Set Config.language to ger and in app/locale/ger/LC_MESSAGES/default.po:

msgid "July"
msgstr "Juli"

msgid "June"
msgstr "Juni"

etc.

If you don't want to do it like this, just copy core form helper to
app/views/helpers and edit the source.


Regards,
Piotr

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: