TheCoder4eu / BootsFaces-OSP

BootsFaces - Open Source Project
Apache License 2.0
247 stars 102 forks source link

DatePicker: internationalisation ( very minor bug) #1064

Closed Lb-lea closed 1 month ago

Lb-lea commented 5 years ago

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.

geopossachs commented 5 years ago

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

stephanrauh commented 5 years ago

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

stephanrauh commented 5 years ago

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

geopossachs commented 4 years ago

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

stephanrauh commented 1 month ago

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