Downcasing locale for jquery.validate i18n messages

Fixes #4867