Jump to content

Datepicker localization frontend


gebeer
 Share

Recommended Posts

Hello,

I have a frontend contact form with datepicker and need to have the german localization for it.

I read about localization of datepicker on the jQuery Ui API page.

How can I implement this in PW? I'm using FormBuilder module

My form is loading these assets:

InputfieldDatetime.js

JqueryCore.js

JqueryUI.js

I rolled a custom UI theme and amended the js to have German language for datepicker.

Now when I load that js file on top of the above mentioned, nothing changes. So I guess, the standard PW datepicker options do net get overridden by my custom theme js.

In this thread apeisa says 

It's easy to translate jquery ui datepicker (change url to translation file from language pack)

How would I go about it?

Thank you

gerhard

PS: and sorry for doubleposting. I thought I explain my situation a bit more in this new thread.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...