jQuery DatePicker defaults to Chinese

This one drove me up the wall. The days and months in the datePicker() kept coming back as Chinese. Turns out the issue stemmed from a new theme, Experon Pro. This is probably not the best way to fix this issue, but it’s fixed and allowing me to move on to new tasks.

edit: wp-content/themes/Experon_Pro/admin/meta/js/jquery.datePicker.min.js

screen-shot-2017-01-17-at-10-07-39-am

In lines 41 and 42, and your language of choice.

screen-shot-2017-01-17-at-10-08-01-am

If you know a better way, please share as I would enjoy learning more on how WordPress functions.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s