On Fri, 2011-08-05 at 07:49 -0700, keesjan wrote: > 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...
Really doesn't have anything to do with deform: http://docs.pylonsproject.org/projects/pyramid/1.1/api/i18n.html#pyramid.i18n.get_locale_name - C -- 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.
