We have to geolocate users twice as they browse the site: once for site language translation, and once in the shop to set the locale and currency.
Geolocation For Translation
To set up geolocation for the site, use the TranslatePress Advanced settings tab. Set the Automatic User Language Detection. In production it should be set to browser language first, then IP (the default setting). For testing you can check IP first, then browser language.
WooCommerce (Shop) Geolocalización
Set the default customer location in the general tab of the WooCommerce settings. In the “Default customer address” dropdown, choose “Geolocate”, and don’t use page caching.
Geolocation settings are in the integration tab of the WooCommerce settings. We’re using a MaxMind (manual) key for WooCommerce geolocation.
