jscalendar language - date at output

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

jscalendar language - date at output

Piotr Świgoń
Hi,

I have a problem with a jscalendar. I would like to change the language,
so I copied calendar-en-min.js from orbeon-resources-public.jar and
change it. It is ok with language of popup calendar, but when I click on
it, I receive date in english in my input. What to do to have the same
language in popup as in input?

regards,
Peter


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: jscalendar language - date at output

Alessandro Vernet
Administrator
Peter,

On Wed, Jul 9, 2008 at 8:01 AM, Piotr Świgoń <[hidden email]> wrote:
> I have a problem with a jscalendar. I would like to change the language, so
> I copied calendar-en-min.js from orbeon-resources-public.jar and change it.
> It is ok with language of popup calendar, but when I click on it, I receive
> date in english in my input. What to do to have the same language in popup
> as in input?

Try changing the oxf.xforms.format.date property (in
config/properties.xml). The format-date() function is called there
with 'en', which you might want to change to the another language, as
appropriate in your case.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws