If you are having a notice about writing the .mo files please read this doc

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

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 10 replies, has 3 voices.

Last updated by tobiasB-21 1 year, 4 months ago.

Assigned support staff: Shekhar Bhandari.

Author Posts
June 22, 2018 at 4:04 pm #2429920

Makarand Mane

I am trying to:

Redirect user that comes from a Swiss, German or Austrian IP address to German language.

I expected to see: They automatically go to the German version of the site. Everyone else gets English.

June 25, 2018 at 12:21 pm #2432492

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you further on this issue.

Currently, this feature is not available so, It seems -unfortunately- that for now, you need custom programming work which is beyond the scope of our support.

At this point I would suggest you consider contacting one of our certified partners from this link:
http://wpml.org/documentation/support/wpml-contractors/

Before doing so please have a look also here:
http://wpml.org/documentation/support/wpml-contractors/guidelines-for-people-looking-for-consulting-help/

You will get the custom assistance you need to get on with your project.

Thanks

June 25, 2018 at 12:52 pm #2432581

Makarand Mane

Is there any plugin can help?

June 25, 2018 at 2:43 pm #2433041

Makarand Mane

HI,

I dont need external contractor. I can code myself.
Tell me which function or hook in plugin detects language of user?
Is there detailed code documentation?
& is any plugin can help me?

June 26, 2018 at 10:20 am #2434866

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I am not sure about plugins which can achieve this at the moment.

You can find our API and hook information here:
https://wpml.org/documentation/support/wpml-coding-api/
https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/

Let me know if this helps.

Thanks

June 26, 2018 at 10:22 am #2434867

Makarand Mane

At which, browser language detected?

June 26, 2018 at 10:25 am #2434870

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello,

At which, browser language detected?

Could you please elaborate on this.

Thanks

June 26, 2018 at 10:27 am #2434872

Makarand Mane

WPML have setting to redirect user using browser language.
At some point WPML detects users browser language, then user gets redirected. Where that code comes in plugin, user browser language is detected?

June 26, 2018 at 11:28 am #2435061

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

The browser language and redirect are controlled from the following code:

/sitepress-multilingual-cms/classes/class-wpml-browser-redirect.php
/sitepress-multilingual-cms/res/js/browser-redirect.js

let me know if this helps.

Thanks

June 30, 2018 at 9:10 am #2447654

Makarand Mane

I sorted out this using plugin hidden link

January 7, 2019 at 9:27 pm #3064454

tobiasB-21

Hi Makarand,

I also want to redirect the visitor based on IP. The link your shared is hidden, can you post it again?

Br,
Tobias