django-bootstrap-datepicker-plus icon indicating copy to clipboard operation
django-bootstrap-datepicker-plus copied to clipboard

Localization of DatePickerInput button titles missing or not applied

Open Bloodmallet opened this issue 6 years ago • 2 comments

Describe the bug When setting the locale, almost everything is translated. Months, Days, the week day order. But the interactive buttons titles aren't. Trying this out with de locale.

To Reproduce Steps to reproduce the behavior:

  1. Localize a DatePickerInput Field 'date': DatePickerInput(options={'locale': 'de'}),
  2. Click on the field
  3. Hover over the interactive buttons
  4. See error

Expected behavior I expect to see german as the tooltip.

Screenshots

image

Setup Information (please complete the following information):

  • OS: Windows 10
  • Browser firefox
  • Python version 3.7
  • Django version 2.1
  • Bootstrap version 4

[x] I have followed the configuration instructions and checked out the common error troubleshooting page.

Bloodmallet avatar Apr 25 '19 11:04 Bloodmallet

Thanks for your finding, we will look into it asap.

monim67 avatar Apr 25 '19 15:04 monim67

Turns out the tempus-dominus v4 doesn't support locale for tooltips. But the tooltips can be customised setting the tooltips option.

monim67 avatar Nov 28 '22 12:11 monim67