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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Bobby 1 year, 1 month ago.

Assisted by: Bobby.

Author Posts
April 29, 2024 at 4:08 pm #15578087

mauriceA-7

Hello, on our pre-production website, we are currently experiencing a problem with the language switcher.
After configuration in BO, it is displayed in the "Change language" menu, but its configuration does not persist. It seems that when you make contributions in BO, the language switcher disappears and comes back.
A bug that we've managed to reproduce is: after configuring and checking that it works on the FO side, when you go back into the WPML stettings, the switcher configuration "disappears" when you delete it from the FO.
We don't understand why this only happens on our pre-production environment (everything works fine locally).
Is it possible to give us some food for thought or to help us debug?

With kind regards.

April 29, 2024 at 11:12 pm #15578939

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

I'm having trouble fully grasping the steps to reproduce the issue. Could you provide a screencast or detailed steps to help me understand better?

As far as I understand, if you've created a language switcher, deleting it from WPML->Languages will remove it from both languages. With WPML's native language switcher, having it in one language means it will appear in all languages.

April 30, 2024 at 5:57 pm #15582394

mauriceA-7

Hi Bobby,

Sorry for the misunderstanding : We don't delete the language switch. It disapears by itself.

Steps to reproduce :

- Go to "WPML > Languages and set a language switcher ;
- Navigate to the front : Everything's fine (the language switcher is here and it works)
- Navigate to the admin (anywhere except the WPML menu and submenus)
- Navigate to the front : Everything's still fine (the language switcher is here and it works)
- Navigate to any pages relative to WPML in the admin (for exemple "WPML > Languages")
- Navigate to the front : The language switcher has disappeared.

Antoine

April 30, 2024 at 6:10 pm #15582431

mauriceA-7

Another bug that might be related.

When we create add a traduction by using the "+" on the "pages > all pages" screen, we are able to create the traduction, but there isn't relation with this traduction and the original page.
We have to establish the relation a posteriori.

May 1, 2024 at 5:47 pm #15584670

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for sharing the above information!

is this a brand new WPML environment or does it have existing translations already?

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

The topic ‘[Closed] Language switcher problem’ is closed to new replies.