NO BUG: Flatpickr localization not working

Browser: Chrome 123.0.6312.122
OS: macOS
URL: Link to a page that illustrates this issue
Bricks: 1.9.7.1

Hello.

I have multiple forms with datepicker fields on different websites and none of them displays in required language. There is a warning in DevTools console that says:
Error: flatpickr: invalid locale ru
at se (flatpickr.min.js?ver=4.5.2:2:26183)
at flatpickr.min.js?ver=4.5.2:2:39844
at k (flatpickr.min.js?ver=4.5.2:2:49339)
at T (flatpickr.min.js?ver=4.5.2:2:49626)
at I (flatpickr.min.js?ver=4.5.2:2:50075)
at bricks.min.js?ver=1712922129:1:45723
at Array.forEach ()
at e.eachElement [as _customEachElement] (bricks.min.js?ver=1712922129:1:45440)
at e.value (bricks.min.js?ver=1712922129:1:8818)
at bricks.min.js?ver=1712922129:1:9588

I used different methods to localize the datepicker field - the one mentioned in the academy article and another one by changing the options inside the form element. I also tried rolling back the Bricks version to 1.9.6.1 without any luck.

How can this be fixed? Thank you.

Hi Maxim,
Please have a look at the Bricks Academy:

Following the instructions, it works fine:

CleanShot 2024-04-15 at 09.21.28@2x

Thank you for your reply. I’ve figured that using VPN had something to do with it. I’m sorry for bothering. I will take that into account next time.