Automatic User Language Detection in TranslatePress


Redirecting visitors to their own language preference based on browser language or IP address is a feature that is often requested by our TranslatePress users. We have made it possible using our newest add-on Automatic User Language Detection. First time visitors expect to see the website in a language they understand. With such a short attention span it’s easy to lose users who are not finding the language switcher soon enough. This is why it’s important not only to have their language available, but to automatically redirect to it.
The last visited language is remembered through a cookie, so that returning visitors will always visit your website directly in their chosen language.
Works out of the box
The Automatic User Language Detection add-on works out-of-the-box, with no required setup steps. There is no need to register for IP address language services, because the language recognition based on IP happens locally with the help of GeoLite2 databases from MaxMind.
There are two ways of finding out what languages the visitors speak: by browser language setting or by IP address. In the community, the browser language is seen as the most reliable information, but it depends
Source: https://managewp.org/articles/17835/automatic-user-language-detection-in-translatepress



source https://williechiu40.wordpress.com/2018/09/03/automatic-user-language-detection-in-translatepress/