Fix invalide locale codes