BootsFaces-OSP
BootsFaces-OSP copied to clipboard
DatePicker: internationalisation ( very minor bug)
The titles for the "previous month" and "next month" buttons must be hard coded so they do not follow the local. It is not very crucial since the date picker are being skipped when navigating in an accessible way but if you find an easy fix it will look more professional for foreign developers not to have some English parts on their sites.
Thank you for your work.
There are two difftrent components - DateTimePicker and Date Picker Which one do you mean @Lb-lea ?
I found the strings in the bootstrap-datetimepicker.min.js on https://github.com/TheCoder4eu/BootsFaces-OSP/blob/master/mavenResources/META-INF/resources/bsf/js/bootstrap-datetimepicker.min.js
In the bootstrap-datetimepicker.min.js is a tooltip with
prevMonth; nextMonth; prevYear; nextYear; ...
But where are the sources for the bootstrap-datetimepicker.min.js? It is this externel project https://github.com/Eonasdan/bootstrap-datetimepicker/blob/master/src/js/bootstrap-datetimepicker.js?
By the way the names in the jQuery Widget are nextText and prevText https://api.jqueryui.com/datepicker/#option-prevText
@geopossachs Yes, as far as I remember, it's the Eosasdan project.
Today, the author of the datetimepicker has resumed their work. Maybe the next version solves the bug.
the last release today of Eonasdan/bootstrap-datetimepicker was on the 28 Feb 2017
I'm afraid development of BootsFaces has slowed down considerably. We'll never manage to address this issue. Let's close it.