BootsFaces-OSP icon indicating copy to clipboard operation
BootsFaces-OSP copied to clipboard

DatePicker: internationalisation ( very minor bug)

Open Lb-lea opened this issue 6 years ago • 4 comments

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.

Lb-lea avatar Feb 28 '19 09:02 Lb-lea

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 avatar May 18 '19 14:05 geopossachs

@geopossachs Yes, as far as I remember, it's the Eosasdan project.

stephanrauh avatar Aug 03 '19 11:08 stephanrauh

Today, the author of the datetimepicker has resumed their work. Maybe the next version solves the bug.

stephanrauh avatar Aug 03 '19 16:08 stephanrauh

the last release today of Eonasdan/bootstrap-datetimepicker was on the 28 Feb 2017

geopossachs avatar Feb 09 '20 09:02 geopossachs

I'm afraid development of BootsFaces has slowed down considerably. We'll never manage to address this issue. Let's close it.

stephanrauh avatar Aug 12 '24 15:08 stephanrauh