Fix locale checking
1.0.12