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 Riffaz 1 month, 2 weeks ago.

Assigned support staff: Riffaz.

Author Posts
August 28, 2019 at 4:55 am #4471199

adilS-3

I have placed the Language switcher in the header as a menu item and I want it to work as a language switcher, right now the links are just pointing to the Homepage of both languages (English and Arabic)

I am not following any documentation.

No, I have not found any example of this, but the client requires that only the other language is shown in the Menu, for example, in the English menu, Arabic should be shown which the user can click to switch language and in the Arabic menu, English should be shown which the user can click to switch to English. Please check the website below and you will see what i am talking about.

hidden link

August 28, 2019 at 6:03 am #4471253

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Thank you for contacting WPML support.

In your English homepage I see the option to switch to Arabic site: hidden link
In your Arabic site I see the option to switch to English page: hidden link
Is this ok now? or are you asking something else?
DO you want to show both language in the switcher as a drop down?
Or if something else could you please explain the issue with screenshot?

Regards,
Riffaz.

The topic ‘[Closed] Language Switcher as a link in the header’ is closed to new replies.