Skip Navigation

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

Problem:
The client was unable to translate certain strings in the header and footer of their multilingual website using Jupiter X and WPML. Despite adding translations in WPML → Translation Management, the changes were not reflecting on the front-end.
Solution:
We recommended checking for unrendered strings and admin text strings. Here are the steps we suggested:
1. Enable the 'Look for strings while pages are rendered' option in WPML > String Translation, visit the page on the front-end, and then search for the string again in WPML.
2. If the strings are not found in WPML > String Translation, they might be categorized as admin text strings. These can be added to WPML > String Translation by checking the box on the left of the strings and translating them.
3. For direct editing of the footer template in English, access the specific footer post in Elementor.
4. If issues persist, especially with Elementor, disable all plugins except WPML and Elementor to identify any conflicts.
5. Visit Elementor's debugging guide and safe mode troubleshooting for further assistance.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please open a new support ticket. 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. For further assistance, you can also visit our support forum 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.

Tagged: 

This topic contains 15 replies, has 2 voices.

Last updated by Mihai Apetrei 9 months ago.

Assisted by: Mihai Apetrei.

Author Posts
October 7, 2024 at 10:11 am #16260199

ivanV-8

Background of the issue:
I am trying to translate the header and footer on my website's English version: hidden link. I'm using Jupiter X Version 4.7.8 with WPML Multilingual CMS Version 4.6.13. I went to WPML → Translation Management and added the translation for the strings.

Symptoms:
The page is translated, but some parts of the Header and Footer didn't translate. My Newsletter text in the footer is still in the original language, and the button in the Header also doesn't translate.

Questions:
Why are some parts of the Header and Footer not translating?
How can I ensure all strings are translated in the header and footer?

October 7, 2024 at 10:42 am #16260560

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Some strings might need a specific procedure in order to be found. Also, there might be duplicate strings and we need to find and translate the correct ones.

Also, the proper way to translate strings depends a lot on how they have been implemented inside the theme/plugin.

Please try both methods and see if any of them resolves the issue.

Method 1:

Go to WPML > String Translation and at the bottom of the page you will find a checkbox called "Look for strings while pages are rendered". You can enable (check) that and then go to the front end to a page where you have that string showing up and then go back to WPML > String Translation and search for that string and see if it now shows up.

Method 2: If you can't find them inside the WPML > String Translation, they might be added as admin text strings.

This should be the normal process to find and translate admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

Please let us know how that goes.

Related documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Kind regards,
Mihai Apetrei

October 7, 2024 at 10:53 am #16260644

ivanV-8

Hello Mihai,

I went to WPML → Translation Management and I CAN find the strings I want to translate. I already added the translations but they still don't show on the front-end.

October 7, 2024 at 11:29 am #16261037

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

I read what you wrote from the very beginning.

That is why I recommended those steps, too, because there's a chance the strings that you found and translated already might not be the correct ones.

Sometimes, there are duplicates of the same strings.

Can you please also try to use the steps that I mentioned to see if you can find other strings?

Please let me know how that goes.

October 7, 2024 at 11:39 am #16261071

ivanV-8

I tried method 1 but no new un-translated strings showed up.

For method 2, when i go to the page Admin Texts Translation it says tha every string is "Not included in String Translation".

What does that mean?

4.JPG
October 7, 2024 at 11:43 am #16261093

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Method 2 is probably what you needed.

Those strings are probably what is called "admin text strings".

You will need to check the box on the left and add them to WPML > String Translation.

Then, inside WPML > String Translation, you will find the new strings at the top.

Translate those and probably after that they will correctly show up on the front end.

October 7, 2024 at 11:45 am #16261100

ivanV-8

For method 2, I can't find my strings

October 7, 2024 at 12:21 pm #16261308

ivanV-8

Method 2 doesn't work

October 7, 2024 at 1:27 pm #16261582

ivanV-8

Do you want me to create an account so that you can access the site?

October 7, 2024 at 3:12 pm #16262438

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Yes, I would like to request temporary access (wp-admin and FTP) to your site so I can better examine the issue. The needed fields are below the comment area. When you log in to leave your next reply, the information you enter is private, meaning only you and I can see and access it.

Our Debugging Procedures

I will check various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. In the event that we do need to debug the site further, I will duplicate it and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please back up the site files and database before providing us access.

If you do not see the wp-admin/FTP fields, your post and website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.

The private box looks like this: hidden link

I will be waiting for your response.

Mihai

October 8, 2024 at 1:02 pm #16265476

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Thank you for the access.

I won't need FTP for now.

The button in the top area of your site can be found here:
hidden link

There's no existing translation for now so you can click + and add a translation.

Regarding the other strings, it seems they are added inside a footer template, so in this case, taking into consideration how things are set up on this site, you could easily go here and manually modify the content to what you want and save (this is the English version of the footer):
hidden link

I hope that you are happy now and that you are able to accomplish what you wanted 🙂

Please let me know how things go.

October 8, 2024 at 1:43 pm #16265694

ivanV-8

I added the string for the header button but nothing changed.

October 8, 2024 at 1:47 pm #16265699

ivanV-8

I looked at this link: hidden link to try and set the English header but I'm not sure how to do part 4 of step 2?

October 8, 2024 at 2:32 pm #16265953

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Well, I have spent over 1 hour and a half at this point on this.

From the investigation, it seems that at least one of the active plugins is messing up with the Elementor editor, because you should be able to edit the English header directly from here like you did with the English version of the footer:
hidden link

After that, you could simply change the button text and save.

I recommend that you create a copy of this site on a testing/staging/dev environment and disable each plugins one by one (leave active just the WPML plugins and the Elementor plugin) and see which plugin is creating that issue that doesn't allow us to load up the Elementor page.

Elementor Support Team also recommend a few steps when the builder is not loading:

- hidden link

- hidden link

Let me know how things go and what you are able to find.

Screenshot 2024-10-08 at 17.26.34.png
October 9, 2024 at 11:57 am #16269840

ivanV-8

Hi Mihai,

I succeeded in translating the text in the header and footer but now I have a different problem.
When I try to open the English header in Elementor to modify it, it insted opens the version of my default language.

Also, I get this message in the language tab when I open the English version of the header in the basic editor:

This document is a duplicate of Header and it is maintained by WPML.

WPML will no longer synchronize this elementor_library with the original content.