Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Date Picker Date change while using Google Translator

Tags:

jquery

I am using Date Picker for the checkin Date.

I am using Google Translator in my website.

So when I change the language from English to Chinese or any other language, Date picker value become NaN/NaN/NaN. Datepicker format is mm/dd/yyyy.

like image 255
aliasgar vanak Avatar asked Jun 05 '13 12:06

aliasgar vanak


People also ask

Why is Google Translator not accurate?

Many people are surprised to learn that Google doesn't actually try to understand the meaning of each sentence as a whole, as a reader or human translator would. Instead its translations are based purely on statistical occurrence. Yep that's right, Google Translate is all about maths and odds, not meaning!

Is Google translation always correct?

If you're using Google Translate for your translations, you'll probably be wondering if Google Translate is correct and whether you can trust Google Translate accuracy for your use case. Well, the short answer is this: Yes, Google Translate is very accurate for the most part. In some cases, it's 94%+ accurate!

How do I use Google Translate dropdown?

To customize google translate button/select, use the id #google_translate_element . Then the select tag to customize select option.


1 Answers

add notranslate class in jquery.ui.datepicker.js with class ui-helper-clearfix.

like image 90
aliasgar vanak Avatar answered Sep 21 '22 21:09

aliasgar vanak