Forum Moderators: open
Google generally uses the following elements to determine the geotargeting of a website (or a part of a website):
1. ...
Webmaster Tools' manual geotargeting for gTLDs (this can be on a domain, subdomain or subdirectory level) ...
2. Server location (through the IP address of the server) is frequently near your users.
...
If you want to reach all speakers of a particular language around the world, you probably don't want to limit yourself to a specific geographic location. This is known as language targeting, and in this case, you don't want to use the geographic target tool.
The user will get the language (+cookie) based on his IP location.
What if I dynamically change hreflang=x and point to the page itself in the header depending on the users location?