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.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Mihai Apetrei 1 year, 6 months ago.

Assisted by: Mihai Apetrei.

Author Posts
August 11, 2023 at 7:20 pm #14190529

calebW-2

Tell us what you are trying to do? — We are hoping there might be a way for WPML to check/detect the visitor's browser language for a single page/URL on our website and not check globally where it checks/redirects for every first-time visitor on very page.

Is there any documentation that you are following? — yes, https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/

Is there a similar example that we can see? – I don't have an example.

What is the link to your site? – hidden link

I made you all a video that I hope will help explain what we are trying to do: hidden link

Thank you so much, WPML team!

August 11, 2023 at 8:08 pm #14190673

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi Caleb.

Unfortunately, this would require custom work and that falls out of the purpose of our Support Policy.

When you enable that feature, it will only work globally, all over the website.

It is very rare that someone would want to do that on only one specific page from the situation that we met until now but I can definitely understand that someone might do this for specific reasons.

Mihai Apetrei

August 11, 2023 at 9:47 pm #14190897

calebW-2

Thanks, Mihai, for your reply!

Yes, I can see how it would not be a highly-desired or requested feature!

QUESTION: Do you think (from your experience with WPML and knowledge of the code) that a customization like this would even be possible, say, if we reached out to Codeable, Upwork, or other WordPress experts for help, or would it likely almost be impossible unless already activated globally?

I ask because your experience might save us some time and dollars on attempting to make it happen, ha.

Thanks, again!

August 11, 2023 at 9:51 pm #14190903

Mihai Apetrei
Supporter

Languages: English (English )

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

You are welcome!

For the right developer that knows what he is doing, this is definitely possible and I don't see it as something that you won't be able to accomplish through custom code.

If this is important for you, then I guess it needs to happen and there's no way around it 🙂

Mihai