Better way of getting user locale preference on Mac