To edit a city or town, go to the section on the dashboard that lists the added locations.
Select the Country which the city belongs to. For example in the image below, if you want to edit “My City”, you choose “My Country” since “My State” belongs to “My Country”.
Under the country, click on the Edit option. Note that you can only edit cities that you have added by yourself. You cannot edit the initial cities in the Woocommerce cities list.
You can now change the city or town name accordingly. You can also edit the country and state on the same screen.