[Resolved] How to translate Kadence element template ?
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.
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?
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
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02: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.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02: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.
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
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 !
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.