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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+03:00)

Tagged: 

This topic contains 0 reply, has 0 voices.

Last updated by Osama Mersal 1 month, 3 weeks ago.

Assisted by: Osama Mersal.

Author Posts
March 14, 2025 at 9:47 pm #16818635

Karin Werner Klement

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?

March 17, 2025 at 3:40 am #16822842

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

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.

Best regards,
Osama

March 17, 2025 at 4:00 pm #16826313

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. Please check if the Speakers slug works correctly. (hidden link)

Best regards,
Osama

March 17, 2025 at 4:09 pm #16826397

Karin Werner Klement

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.

March 17, 2025 at 5:01 pm #16826627

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

1) For the slug, please edit the hidden link">post type and remove the rewrite slug string. After that, resave the permalinks and translate the slug.

2) For the menu item translation, please go to Appearance-> Menus, switch the language, select the English menu, and translate the string.

Best regards,
Osama

March 17, 2025 at 6:07 pm #16826818

Karin Werner Klement

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

What am I doing wrong again?

2) I did that successfully

Best regards
Karin

March 17, 2025 at 8:55 pm #16827209

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Karin,

These are the correct steps. Do you use a caching plugin on your live site? If so, please clear the cache and repeat the steps.

Best regards,
Osama

March 17, 2025 at 9:54 pm #16827275

Karin Werner Klement

I don't use caching plugin.
Best regards
Karin

March 18, 2025 at 1:16 am #16827457

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Karin,

Please share the live site's access details so I can check it.

Best regards,
Osama

March 18, 2025 at 6:53 am #16828040

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. Please check if the speaker's slug works correctly. (hidden link)

Best regards,
Osama

March 18, 2025 at 6:57 am #16828043

Karin Werner Klement

Yes it is ok now. Can you please tell me what did you do to make it work?
Thanks

March 18, 2025 at 6:59 am #16828045

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Karin,

I made the same steps you did and the exact steps I did on the staging site.

Best regards,
Osama

March 18, 2025 at 7:21 am #16828094

Karin Werner Klement

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.

03.jpg
02.jpg
01.jpg
March 18, 2025 at 7:36 am #16828235

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Yes, these are the correct steps.

Best regards,
Osama

The topic ‘[Closed] Translating CPT archive page title and slug’ is closed to new replies.