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
.
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!
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!
To customize google translate button/select, use the id #google_translate_element . Then the select tag to customize select option.
add notranslate
class in jquery.ui.datepicker.js
with class ui-helper-clearfix
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With