Register a listener that fires whenever any of the user's locale settings change.
Read current() or details() inside the listener to inspect the new state.
Parameters
event: "change"
The event to listen for (the only event this module emits)
listener: ()=>void
Called with no arguments when locale settings change
Register a listener that fires whenever any of the user's locale settings change. Read
current()ordetails()inside the listener to inspect the new state.