GENL / matice

Use your Laravel translations in JavaScript.
MIT License
99 stars 15 forks source link

Unhandled Promise Rejection: Locale [nl_BE] does not exist in Safari #24

Closed JanCusters closed 3 years ago

JanCusters commented 3 years ago

Hi, thanks for the package. I'm using it with Laravel and Jetstream / Inertia. In Chrome everything works fine but when opening my project in Safari it wouldn't load because of the following error:

Unhandled Promise Rejection: Locale [nl_US] does not exist.

Versions

GENL commented 3 years ago

Please I need more information about the issue,

JanCusters commented 3 years ago

It looks like the problem occurs on all browsers with a composite locale like for example en_US, but not with en

GENL commented 3 years ago

Can you print the portions of the code where you define your locale? And also the function that throws the error?

JanCusters commented 3 years ago

Woops, the problem seemed to be on my side. Sorry for disturbing you.

alessiovietri commented 2 years ago

Hi @JanCusters , what was causing this error to you?