I'm curious about why many website developers opt for IP-based language settings for users instead of using their language preferences or device settings. Specifically, in the case of YouTube, why not utilize the content language that's related to the videos a user watches to deliver ads in that language? It seems like a more logical approach to me.
7 Answers
I get the whole ad angle. Most ads are usually targeted based on the user's country rather than their language. For example, even though I live in France with my browser set to English, getting ads from places like the UK or the US doesn't really make sense since those products aren't available here.
IP addresses are a fallback for many sites, even though it's not the smartest solution. It's basically a quick fix that doesn’t account for all the edge cases like VPNs or shared networks. Ideally, sites would remember user preferences for a better experience, but that requires a bit more work on their end.
From what I've seen, most sites tend to rely on browser settings if they don't have a complex system in place. It's rare for them to set the language based on IP. Some might do a quick location check that also ties into the chosen language for a different site version, but that's not universal.
Really, the best approach should be user choice first, then device language preferences, and only as a last resort should they use location. Browsers actually send language preferences, so hopefully, this will improve as more people point it out.
I totally relate! When websites switch languages due to IP addresses, it can be super frustrating. For instance, my VPN often makes it think I'm in a different country, and suddenly everything's in a language I can't read.
I agree! It would make more sense for platforms like YouTube to auto-detect language preferences based on the content you watch. If I mostly watch English videos, why show me ads in other languages? It just feels counterproductive.
Usually, the IP method is used because sites need to adapt content according to local laws. It might be simpler for them to stick with that method rather than navigating user settings. Until users really push for a change, this might just be the default they stick with.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads