I have a site with 32 languages/countries like so.
Now we want to implement language detection. So if a user goes to site.com we want to redirect him to the correct language/country.
What would be the best approach to go about doing this?
I have no experience with this. Do we do this by IP or CultureCode ?
Episerver uses MaxMind under the covers for GeoLocation persolalisation. There's a GeoLocation provider as documented in this blog http://www.jondjones.com/learn-episerver-cms/episerver-developers-guide/episerver-multilingual-websites/how-to-find-the-current-users-country-using-geolocation-in-episerver which will get the correct country based upon the IP. I would add confgiruation in your site to assign languages to countries or uses some partial matching with the country codes such as
var cultureInfos = CultureInfo.GetCultures(CultureTypes.AllCultures)
.Where(c => c.Name.EndsWith("-CH"));
To get out the correct culture which you can then use with the UrlResolver to get the correct language URL.
Thanks for the info scott... I will dive into this and report back.