Skip to content Skip to sidebar

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: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year ago.

Assisted by: Waqas Bin Hasan.

Author Posts
August 1, 2024 at 3:31 pm #16030511

patriciaS-27

Background of the issue:
I have created a custom plugin for managing products on my website hidden link. This involves a custom post type called products. The main language of the site is Italian, with English as the second language.

Symptoms:
When I navigate to the products archive in English and then switch to Italian, the link incorrectly leads to /it/products instead of /it/prodotti. The singular post name works correctly after WPML configuration, but the plural does not.

Questions:
Is there a way to translate the custom post type so that the plural name is correctly displayed in Italian?
Can WPML be configured to address the issue with the plural post name translation?

August 2, 2024 at 9:13 am #16032377

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Hi,

Thank you for contacting the support.

May I ask for the debug information of your website for an overview of your setup? See https://wpml.org/faq/provide-debug-information-faster-support/ for more information.

I've enabled the debug information section for your next reply.

Additionally you can also take a look at https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/ and cross-check for a few initial fixes.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

Regards.

August 2, 2024 at 10:07 am #16032715

patriciaS-27

Debug information.

Zrzut ekranu 2024-08-1 o 17.27.27.png
August 2, 2024 at 1:00 pm #16033598

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the debug information.

First of all, I'll recommend updating WordPress to the latest version, then clear all caches and try again.

If that doesn't help, then please check with:

- only WPML plugins.
- your custom one (i.e. having the said CPT).
- and default 2024 theme (instead of the current ones).

And let me know your findings.

IMPORTANT: Please take full backup of your website and database beforehand.

The topic ‘[Closed] Plural CPT name translation issue.’ is closed to new replies.