Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by chongweiC 1 year, 10 months ago.

Assisted by: Mihai Apetrei.

Author Posts
April 22, 2023 at 4:11 pm #13521743

chongweiC

Hi,

Can your plugin auto-switch the page to the specific language based on user's location? For example, if the user IP is from France, then the French version of the page is loaded.

April 22, 2023 at 4:16 pm #13521745

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

We have this functionality available right now where WPML will redirect the user to the language his browser is set to (as long as that language exists on the site):
https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/

If you want users to be redirected based on the country IP (location) they are visiting from, you'd need a "Geolocation" plugin to do that.

You can check our list of compatible plugins here:
https://wpml.org/plugin-functionality/geotargeting/

Here you can also find some existing tickets related to the same topic:

- https://wpml.org/forums/topic/i-wants-to-auto-translate-according-to-country/
- https://wpml.org/forums/topic/country-based-redirect/

I hope that you will find the information above helpful 🙂

Kind regards,
Mihai Apetrei