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
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
> An `UnexpectedValueException` will be thrown when the input value is not a `string`.
32
+
33
+
## Options
34
+
35
+
### `canonicalize`
36
+
37
+
type: `bool` default: `false`
38
+
39
+
If `true`, the input value will be normalized before validation, according to the following [documentation](https://unicode-org.github.io/icu/userguide/locale/#canonicalization).
40
+
41
+
### `message`
42
+
43
+
type: `?string` default: `The {{ name }} value is not a valid locale, {{ value }} given.`
44
+
45
+
Message that will be shown if the input value is not a valid locale code.
0 commit comments