Fix language detection in datepicker

When a full locale is set in project (fr_FR) the default option language is incorrect as it should be 'fr' instead of 'fr_FR' for jquery translation
Merge pull request #240 from netounet/patch-2

Fix language detection in datepicker