IBX-11127: Datepicker is always in english despite BO language change#1806
IBX-11127: Datepicker is always in english despite BO language change#1806
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. |



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