Hi,
Setting the locale for the datepick is only the first Part. You will also
have to back the field with a date type that can handle dates in non-iso
formats. I ended up with a custom type and a custom template. If you are
interested, i can send you the code on monday.
Regards,
Robert

Am 05.08.2011 16:49 schrieb "keesjan" <[email protected]>:
> Is there a way to determine the current locale used (by Pyramid)
> inside a Deform widget template?
>
> What I'm trying to accomplish is to enable i18n/L10n support by the
> JQuery datepicker. In order to do this I need to pass the language
> inside a javascript snippet, like so:
>
> $.datepick.regional['fr']
>
> As is documented here: http://keith-wood.name/datepick.html#l10n
>
> Hope someone on this list already invented this wheel...
>
>
> Kind regards,
>
> Keesjan
>
> --
> You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to