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.

This topic contains 9 replies, has 2 voices.

Last updated by dennisR-14 1 year, 7 months ago.

Assisted by: Bobby.

Author Posts
April 5, 2023 at 9:19 pm #13414185

dennisR-14

Hi,

My website is up-to-date in terms of WordPress 6.2 and with the plugins updated, but I happened to notice today that the header and footer in the original language (Spanish) now shows in English. The translations show correctly (English & Dutch).

I do see the correct header and footer text in Spanish in the back office but not on the front end.

Please advise.

Screenshot 2023-04-05 at 23.17.24.png
Screenshot 2023-04-05 at 23.17.07.png
Screenshot 2023-04-05 at 23.14.46.png
Screenshot 2023-04-05 at 23.14.39.png
April 5, 2023 at 9:53 pm #13414489

dennisR-14

I realised I could set the correct footer and header under Customize -> General -> Elementor Templates, but it only lets me correct one of the two.

If I select the correct footer (Footer - Global) then the Header (Header - Global) is not showing correctly, and vice versa. One of the two switches back to the incorrect Header/Footer (Footer/Header - ENG). So, I've corrected the footer now, but can you assist in correcting the header two?

April 5, 2023 at 11:55 pm #13414725

Bobby
Supporter

Languages: English (English )

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

Hi there,

Are you creating the footer and header with Elementor?

You should be able to translate the Elementor templates per our documentation:
https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

April 6, 2023 at 7:31 am #13416763

dennisR-14

Hi Bobby,

Yes, I've created the footer and header with Elementor and these have already been translated into English and Dutch which is still shown in the backoffice.

However, there seems to be a bug in the system as I cannot select the preferred footer and header at the same time under global settings (customize). So now I've selected the original footer (spanish) but it still doesn't show the header in Spanish, only in English (which is not the original language but a translation).

April 6, 2023 at 8:39 pm #13423049

Bobby
Supporter

Languages: English (English )

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

Thank you for updating me!

Within Customize you cannot switch to "all languages" or a transition language your choice will be done under the "default" language.

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

April 7, 2023 at 9:57 pm #13429245

Bobby
Supporter

Languages: English (English )

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

Header template ID for Spanish -> 42

Footer template ID for Spanish -> 46

Go to WPML->string translation-> search for the ID -> select "Exact match" and you will get the results in the screenshot.

Add the translation ID for the translated elementor templates.

It should show as expected now.

NOTE: Do not use Customize->General-> Elementor templates.

--------------------> I have done the steps for you already and it works OK when I am testing.

Screen Shot 2023-04-07 at 2.55.31 PM.png
April 9, 2023 at 7:19 am #13433515

dennisR-14

Hi Bobby,

I didn't really change anything in the string translation besides re-entering the 3252 for Dutch and 3248 for English that was already filled in under 42 for the Spanish header, but now both the header AND footer are showing the correct language (even though I didn't change the footer settings under string translation). So, I don't know what you've done, but it's working!

Thank you and have a lovely Easter.

All the best,
Dennis

April 11, 2023 at 8:40 am #13442851

dennisR-14

Hi Bobby,

I don't know if the following is linked to what we've been discussing, but there is now another strange thing happening where I've changed a bit of text in the original (Spanish) language.

I then had to look up the words in the Advanced Editor as it was not automatically brought forward that I had to change this. I had to type in "perro" for the words to show up for English and Dutch. So I then did change the words for English and Dutch on the backend. However, this isn't reflected on the frontend. I do see the new image (of the cat), but the texts did not update (it has to show "2022" for instance).

This was working properly before, so maybe it's because some of the changed settings you've made? I've not made any other changes besides this one.

Screenshot 2023-04-11 at 10.39.17.png
Screenshot 2023-04-11 at 10.32.37.png
Screenshot 2023-04-11 at 10.32.25.png
Screenshot 2023-04-11 at 10.32.14.png
April 11, 2023 at 7:00 pm #13449611

Bobby
Supporter

Languages: English (English )

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

Hi there,

I believe this is separate and not connected to the header/footer as it is within the actual page.

Unfortunately I no longer have access to the site as they were removed automatically (you can edit the previous private field and re-add them)

Try making a small change to the page in the default language and update then update the translation again.

Also, check in WPML->Stringn Translation-> are you able to locate these strings there?