Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wants their website to open based on the browser's language.
Solution:
We recommend setting the option "Redirect visitors based on browser language only if translations exist" in the WPML settings. You can find this option by navigating to WP-Admin -> WPML -> Languages -> Browser language redirect section. For more detailed instructions, please visit Automatic Redirect Based on Browser Language.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.

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 1 reply, has 2 voices.

Last updated by Marsel Nikolli 1 year, 10 months ago.

Assisted by: Marsel Nikolli.

Author Posts
May 23, 2024 at 8:57 am #15661555

ninnateL

How to set Default language is browser language

May 23, 2024 at 9:30 am #15661801

Marsel Nikolli

Hi,

Thank you for contacting WPML Support, I will gladly help you.

If I understood correctly you want the website to open based on the browser's language, to do so you need to select the option "Redirect visitors based on browser language only if translations exist" on the page WP-Admin -> WPML -> Languages -> Browser language redirect
section (please check the attached image, and select the option as shown there).

More information can be found here: https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/

Let me know if you have any questions or need further assistance.

Kind regards,
Marsel

Screenshot 2024-05-23 112637.png