Fix locale loading