IBX-11127: Datepicker is always in english despite BO language change#1806
IBX-11127: Datepicker is always in english despite BO language change#1806mikadamczyk merged 2 commits into4.6from
Conversation
|
|
I'm not sure if it's correct solution for this problem. For one it can be some BC change, as if someone made custom layout and includes there If I understand correctly, the problem is that we initialize flatpickr instances in code before calling In theory we use flatpickr only internally, inside our |
Discussed in private - changing order in admin-ui-layout didn't work, therefore I'll approve current solution. It's not perfect (as we rely on size of that file) but it's much smaller change than changing structure of DatePicker, enforcing custom calls to localize with each call to flatpickr etc. |
2afa369 to
ee72421
Compare
There was a problem hiding this comment.
QA Approved
PR tested on 4.6.x-dev, patch applied and successfully tested on v4.6.28
PHPSTAN fix in: #1856
ee72421 to
f1bd12b
Compare
|



Description:
Flatpickr translation script was being included too late in the chain so I have moved it before the layout-js.