For CB Distribution, we are working on translating an English version into a Spanish version. On the website, we use events. We want to separate these events because an event in the Netherlands is not relevant for the Spanish website. I achieved this by creating Custom Post Types. I want to display the English version with the following shortcode: [elementor-template id="9627"] and the Spanish version with [elementor-template id="9630"]. How do I do this?
I tried doing it through String translations, but when I created a translation job, it didn't load. Also, when I try to translate the Spanish version of the Elementor website, I get a 404 error. What am I doing wrong?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
In this case please replace the shortcode in the second language directly inside Elementor.
Revise if this solves the issue.
Now, please apply the translation for this content again and let me know if the translated shortcode will stay saved or will get overwritten by the original shortcode.
If this is the case, we might be able to offer a workaround, or you simply switch the translation method for this page to "WordPress Editor". This option can be found on the right sidebar of the WordPress Editor inside the section "Language" when editing the original content.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Would it be an alternative for you to generally switch this page to use the WordPress Editor as a translation method for this content?
You can find this option inside the right sidebar of the WordPress Editor on the original content.
If you switch the translation method, a dialog will open and ask you if you would like to switch the translation method for the current content, all contents of the same type, or all site content.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Thank you for the video!
I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.
You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.
IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further.
However, I would also be very grateful if you could provide a staging site or copy of the website from your server yourself for this purpose.
If you have any questions about creating such a staging site, you can consult your hosting provider. Just take note that WPML should be registered on this site again.
If you are unable to provide such a copy of the site for testing, please let me know on this ticket.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
The provided credentials do sadly not provide me access to the site. Please verify the provided information and drop me a comment on this ticket once access is granted.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Overthinking this issue, the Elementor Template translation should work as expected, if the template is translated. No need to translate the shortcode manually.
Are you trying to display the CPT "Seminairs"?
If so, please go to WPML > Settings > Post Type Translation and set "Seminairs" to "Translatable only show translated items".
Now, translate the CPTs in the same way that you translate other posts or pages.
That is not what we want. There are other trainings and seminars that require a different template, not a translation. We need to handle this in the same way for several other components as well. Therefore, it is important for CB Distribution that the translation works and that we do not receive a 404 error.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
You need to translate "Trainings" and "Seminars" to make them available in the second language or you could try to use the setting "Translatable - use translation if available or fallback to the default language.