Hook Locale.getDefault

Addresses #1270