set correct locale code