Skip Navigation

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

Problem:
The client is working on a new version of a website using Kadence Pro and has created a Kadence element template to customize the blog archive page. They have enabled the template for translation and rescanned the theme, but cannot find the string in WPML > String Translations. The archive does not translate into other languages, despite setting the Kadence element to apply to all languages.
Solution:
We recommend checking if the template is a custom post type (CPT) and ensuring it is enabled for translation. If it is a CPT, you can find and translate it by following the steps outlined in our documentation on assigning the translations to a translator and enabling custom post types for translation.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly 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 further assistance is needed, please open a new support ticket at WPML support forum.

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.

This topic contains 10 replies, has 2 voices.

Last updated by amauryC-5 2 months, 3 weeks ago.

Assisted by: Bruno Kos.

Author Posts
October 3, 2024 at 3:18 pm #16250969

amauryC-5

Background of the issue:
I'm working on a new version of ski-mojo.com under Kadence Pro. I have created a Kadence element template to customize the blog archive page: hidden link. I want to translate this template and have enabled 'can be translated' for Kadence Elements. I have rescanned the theme.

Symptoms:
I can't find the string in WPML > string translations. The archive does not translate into other languages, even though I set up the Kadence element to apply to all languages: hidden link.

Questions:
How can I translate the Kadence element template?
Why is the archive not translating into other languages?

October 4, 2024 at 7:30 am #16252688

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Thank you for contacting WPML support!

This template, I understand from your description is a custom post type? If so, did you try finding and and translating like this?
https://wpml.org/documentation/translating-your-contents/#assigning-the-translations-to-a-translator

Assuming that this CPT is enabled for translation (as you confirmed it is) https://wpml.org/documentation/getting-started-guide/translating-custom-posts/#enable-custom-post-types-for-translation

Regards,
Bruno Kos

October 5, 2024 at 3:52 pm #16256820

amauryC-5

Hi

No it's not a custom post type.

With the theme Kadence Pro, a Kadence element could be a block that you reuse on several pages, or even a page template.
In my case, I have created a template to customize the display of the blog archive page

See example here
- FR: hidden link
- UK : hidden link
- IT: hidden link
- DE : hidden link

You see the titles do not translate
- A la Une
- Notre présence en station
- Actualités du Ski~Mojo Club

October 7, 2024 at 10:33 am #16260485

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Would you be willing to provide me with WordPress and FTP credentials so I could investigate the issue directly?

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

I marked your next reply as private so that you can safely add credentials.

October 7, 2024 at 10:36 am #16260494

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

But before that, can you check this?
https://wpml.org/forums/topic/cant-translate-content-from-the-info-block-kadence-wp/#post-13927171
https://wpml.org/forums/topic/kadence-blocks-some-elements-wont-translate/#post-11773557

If these are Gutenberg based blocks, they would require XML.

October 8, 2024 at 5:43 am #16263888

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

I see that kadence_element is a post type so I was going to check there. However hidden link always gives me 404, can you check this?

Because I am unable to check the translation and original in the frontend.

October 8, 2024 at 9:18 am #16264623

amauryC-5

Hi

Sometimes I have CPU peak which causes 404 errors on the site (not sure if that comes from WPML though).

The site is back online, you can now check again please

October 8, 2024 at 12:13 pm #16265319

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

I get "Erreur : l’identifiant wpmlsupport n’est pas inscrit sur ce site. Si vous doutez de votre identifiant, essayez plutôt votre adresse e-mail." now for some reason, even though it worked fine for me when I first logged in.

October 8, 2024 at 1:49 pm #16265703

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

I am checking this with our 2nd tier and will keep you posted.

October 8, 2024 at 2:43 pm #16266002

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

To troubleshoot this problem, I'll install the Duplicator plugin and generate packages for further debugging purposes. I'll ensure to exclude all media files to maintain a minimal package size. You can find more information about the process here: [link](https://wpml.org/faq/provide-supporters-copy-site/). Please confirm if this approach is acceptable to you.

October 8, 2024 at 3:49 pm #16266471

amauryC-5

Apologies I'd like to avoid doing this.
As of today we have unexplained CPU peaks causing many 404 errors.
So I dont think it's a good idea right now to instal such a plugin...

Here is the reply I've sent to the Kadence Pro support team ; maybe it rings a bell on your end ?

The problem I have is that Elements do not display anymore on the front office in the given language when I do this

1 -> I have activated “translatable” for CPT = kadence element
See Image1

2 -> In appearance > Kadence > Elements I translate the template element – see example with Breadcrumb.
The breadcrumb element is set to All user and All languages
See Image2

3 -> BUT on the front office, the breadcrumb shows in French but not in other languages
hidden link

See Image3

hidden link
See Image4

hidden link
See Image5

I got the same problem for the other Kadence elements (the reassurance block on the shop pages, the blog archive templates etc)
Thank you for your help

image1.png
image2.png
image3.png
image4.png
image5.png
October 8, 2024 at 3:58 pm #16266660

amauryC-5

OMG I found it
I need to edit the kadence element in french
then click on "wordpress editor"
and edit the translated element with wordpress edito
in this case, it display correctly on the front office

thxs again for your support !