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

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Kor 1 year, 2 months ago.

Assisted by: Kor.

Author Posts
September 13, 2023 at 8:25 am #14387945

davidH-81

I'm attempting to achieve the following: Modify the custom post name in a different language. When utilizing the Avada theme and retrieving content from the custom post type (CPT) called "Resources," I've encountered an issue with the "Load More Resources" button. This button displays the name "Resources" directly from the CPT name, and it cannot be translated.

Is there any possibility of translating the CPT name using WPML?

To create the CPT, I'm utilizing the PODS plugin: https://wordpress.org/plugins/pods/

Here's a link to a page where you can observe the issue:

I expected to see: "Mehr Ressourcen"

However, I received: "Mehr Resources"

Thank you in advance!

1694593433144.png
image-2023-07-06-12-31-00-687.png
September 14, 2023 at 9:09 am #14395045

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for contacting WPML support.

Have you tried translating the strings using the String Translation? https://wpml.org/documentation/getting-started-guide/string-translation/

If you've tried and the issue continues, I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

September 21, 2023 at 8:44 am #14435859

davidH-81

Hello once more, I regret to inform you that I cannot grant you access at this moment. However, I will endeavor to provide a more comprehensive explanation:

I have utilized string translation to convert the "Load more" button, which, in this instance, is associated with a specific Custom Post Type (CPT) denoted as "%s" (for instance, it could be an event, resource, blog, etc.).

My goal is to translate these elements independently, meaning I want each CPT name to have its corresponding translation in other languages.

I found this entry: https://wpml.org/documentation/getting-started-guide/translating-custom-posts/, but following the steps didn't show the translated name as expected. (screenshot: Post type Translation)

Any other suggestions?

Thank you in advance!

1695284586162.png
Post Types Translation.png
September 21, 2023 at 2:35 pm #14440451

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

I've reviewed the screenshots you provided, and it appears that you've followed the correct method for translation. Given that I don't have access to your website's backend, would it be feasible for you to replicate the issue on a sandbox site that I provide? This way, you can attempt to replicate the issue and this would allow me to troubleshoot the issue quickly.

The topic ‘[Closed] Custom post type name can not translate’ is closed to new replies.