Skip Navigation

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

Problem:
You are experiencing an issue where the post-type archive page suddenly is not working as expected.
Solution:
Navigate to WPML > Settings > Post Type Translation and ensure that the slug for "Services" is translated. If it already appears as translated, edit the translated field and save the settings again. This step often resolves the issue.
Additionally, if your menu uses custom menu items, you might need to adjust their translations. You can do this through WPML > String Translation or directly within each menu.

If this solution does not resolve your issue or seems outdated, we 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. If the problem persists, please open a new support ticket.

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 9 replies, has 1 voice.

Last updated by lynnW-2 5 days, 10 hours ago.

Assisted by: Andreas W..

Author Posts
January 24, 2025 at 6:56 pm #16632456

lynnW-2

Background of the issue:
I am trying to switch languages on the main page to Spanish and navigate to the Resources > Patient Services page. The issue can be seen at hidden link.

Symptoms:
When I go to the page in English and switch to Spanish, the translated page is blank with just a headline. In the backend, the Spanish version also shows as blank.

Questions:
Why does the Spanish version of the page display as blank when switching from English?
How can I ensure the Spanish page displays correctly when switching languages?

January 27, 2025 at 6:22 am #16635895

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support. Meanwhile this ticket is attended by one of my colleagues, can you please install WPML String Translation plugin, activate it and recheck?

Please also try the following after installing/activating WPML String Translation plugin:

- Open the page in default language for editing.
- Make a small change like a word or dot.
- Save and update the translation.

I hope this 'll solve the issue. Please let us know your findings and we'll try our best to help you further on the matter.

Regards.

January 27, 2025 at 7:10 pm #16639096

lynnW-2

We did have the string translation plugin installed, but not activated, because all of our translations are by hand, not programmatic.

Just activating the plugin didn't change the behavior.

I don't want either page to update the other, because again, we want all the translations to be made by human translators.

The Spanish page does exist, which you can see if you switch to Spanish on the home page, then click the link to the Resources page.

Could I possibly get on a Zoom call to demonstrate what's going on? I think that would be easier than going back and forth with forum posts.

January 29, 2025 at 6:23 pm #16648278

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

After activating WPML String Translation you need to translate the page again with the WPML Translation Editor and make sure that the translation is completed to 100%.

In case this does not solve the issue, please let me know.

Best regards
Andreas

January 29, 2025 at 6:35 pm #16648289

lynnW-2

I don't know what you mean by "translate the page again." There is an English version and a Spanish version, both human created and edited.

I am noticing now that if you change to Spanish on the home page, then go to the Resources page, the URL that displays is different from the one that displays if you go to the Resources page and then change to Spanish.

This is the English page:
hidden link

If you go to that page and switch to Spanish, you get this page:
hidden link

Which is blank.

If you switch to Spanish on the home page and then choose the Resources link in the menu, you get this page:
hidden link

Which has the correct content on it. But it's a different URL than the other one.

I don't know how to fix this.

I'm sorry if I'm being difficult about this. But the system is complex and it was set up years ago, so I'm not very fluent with using it.

January 29, 2025 at 7:09 pm #16648331

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Please go to WPML > Settings > Post Typte Translation and make sure the slug for "Services" is translated.

If it is already appearing as translated, please edit the translated field and save the settings again.

This usually should solve the issue, but take note that if your menu uses custom menu items, then you need to adjust their translations with WPML > String Translation or directly inside each menu.

January 29, 2025 at 7:22 pm #16648361

lynnW-2

I don't see where "the slug for Services" is on that page.

There is a "Translate link targets" section that has a button "scan now and adjust links." Is that what you are talking about?

Could we possibly do this over Zoom? Being able to share the backend with you would probably be really helpful.

January 29, 2025 at 7:25 pm #16648378

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

My apologies, but we do not offer video sessions on this forum.

- I can offer to take a closer look at the site admin, if you agree?

The section is WPML > Settings > Post Types Translation.

You might not see the fields, as slug translation has been disabled.

Please follow this guide:
https://wpml.org/documentation/getting-started-guide/translating-page-slugs/

January 29, 2025 at 7:29 pm #16648410

lynnW-2

Not sure why it works in other contexts but not in this one. I'm not comfortable making these kinds of changes to the backend in case it messes up something else.

I could make a temporary admin account for you on the backend. How would I communicate the login info to you?

January 29, 2025 at 7:31 pm #16648415

lynnW-2

And what email would I use for the account?

January 29, 2025 at 7:46 pm #16648466

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

My e-mail is:

andreas.w@onthegosystems.com

I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further.

The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up the site and database before granting us access. If the changes will cause any harm you will have a backup to revert the site to its prior state.

If you cannot see the "wp-admin / FTP" fields, your post and site credentials will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" here to create a copy of the site that I can use to investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/de/account/websites/.

If you are not able to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.

January 30, 2025 at 5:51 pm #16653184

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

The issue here seems to be, that "Patient Resources", which means the English version, is actually a translation.

The original page is "Recursos para pacientes".

Updating the translation from ES to EN seems to have solved this issue.

January 30, 2025 at 7:15 pm #16653271

lynnW-2

This appears not to be fixed. If you go to this page:
hidden link

And choose "Español" at the top to switch to Spanish, you still get the blank page.

January 30, 2025 at 7:56 pm #16653339

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I can see that in English you use a page called "Services", which has various subpages.

In Spanish, the page "Services" does not have any subpages.

I suggest you fix the Spanish (Original) content first, make sure it uses the expected subpages, and then test again.

January 30, 2025 at 8:08 pm #16653365

lynnW-2

I think what we need to do is make new pages, first in English and then in Spanish. I still don’t understand why the system is doing what it is doing. I find this system to be really complex, honestly. And my client has been maintaining the pages for years without my intervention.

Thanks for looking into it. I guess we are at the end of the line here.