eternicode/bootstrap-datepicker — pull request #191 by ChaoTang (2012-09-18 08:54:55+00:00)
Title: support for header i18n

The plugin supports i18n for the month and weekday names and the weekStart option, but not include header. So, I fix the problem as a suggestion to you.

The default is English ('en'),

To add more languages, simply add a key to $.fn.datepicker.datepickerHeader, before calling .datepicker(). Example:

$.fn.datepicker.datespickerHeader['en'] = 'dates[this.language].months[month] + " "+ year';

So, we can get the header text by call 'eval()'.