You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a note about \Locale::canonicalize() within the Locale constraint documentation, since many times locales are expressed using other "uncanonicalized" formats. By instance, a common use case is to infer the locale from javascript, where navigator.language returns values like "en-US" instead of "en_US"; making the Locale constraint to fail.
The canonicalization process is explained at ICU project.