2008-12-05 22:38:02 GMT

One might ponder whether to use IP based geotargeting or the HTTP_ACCEPT_LANGUAGE HTTP header to determinte what is the native language of the user.

I can imagine two scenarios:

Providing the user the localized version of your site

In this case use HTTP_ACCEPT_LANGUAGE. Let me tell you why it's preferred to GeoIP targeting.

Providing geographically relevant resources to the user

In this case IP based geotargeting is the way to go. You can find some free databases of inferior quality or buy commercial databases of superior quality.