Background of the issue:
I am trying to translate the CPT archive page title in the main menu. I have a CPT called Predavači (Speakers) created with JetEngine. I made a template for the archive page with Elementor Theme Builder. I translated all available strings in string translation. In WPML > Settings > Post Types Translation, Predavači is set to Translatable, and I set different slugs in different languages (original predavaci, translated speakers). I added the archive page for CPT Predavači (Speakers) in the menu on the default language (Croatian).
Symptoms:
On the English site, I don't see the translated name but the Croatian name Predavači. When I click on the menu item, it goes to the translated page as it is supposed to. Just the title is wrong.
Questions:
Why is the translated name not appearing in the menu on the English site?
Thanks for contacting WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please back up your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Yes, speakers slug is working correctly now. What did you do?
Archive page title for speakers is still on Croatian (Predavači instead od Speakers) in primary menu in English site.
1) I didn't manage to resolve the issue on my live site. If I understood correctly
I went to post type "predavači" and:
- deleted Rewrite Slug in Advanced Setting
- went to Settings > Permalinks and saved permalinks
- went to String Translation, found URL slug: predavaci and translated it
I am sending you screenshots what I tried to do, because I think I am missing something, as I didn't manage to resolve the problem my self. Maybe I misunderstood something.