You can't use it to determine where they are from. What you can do with that information is understand what language their browser natively is built for and deduce from that what language(s) the visitor understands. In this case, Argentinian Spanish.
language codes are defined in ISO 639
ISO 3166 is about localisation, not languages.
yes, i knew that; But where is it used? some explorer give this data if you configure very good?. Other thing that perhaps is related with it is that in somesites that you check ip address own, showed medirectly that my ip was from Buenos Aires, how they do that? perhaps is something that give the iso3166-2 codes
Never heard of a standard browser/client sending ISO 3166 infos within "normal" http requests.
Maybe you find something useful about the usage at http://www.iso.org/iso/en/prods-service ... 166-2.html
I've never came in "direct" contact with this standard. There are other standards that make use of some parts of iso 3166 but they are standards on their own, add codes, only use a subset etc.
I found http://www.idude.net/I18N/articles/web_ ... o_3166.asp via google
I am simply amazed by the fact that the following options appear in country select boxes on many websites.
* Bouvet Island
* Heard & McDonald islands
Why? Because they are uninhabited.
and now I'm interested
There are databases that try to link ip addresses to regions. Results might be accurate, might be wrong
I only know of geoip but there are certainly other services of this kind.