Hook Locale.getDefault

This ought to work, but I wasn't sure which category to put it in. "system" doesn't seem right, but short of making a new category, I don't really know what to do with it.

Addresses #1270