Skip Navigation

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

Problem:
The client is trying to translate a page created in Elementor using JetEngine metadata for a Custom Post Type (CPT) called 'Artistes'. The issues faced include:
1. The English version of certain archive pages does not have the same structure as the original French version.
2. Some archive pages do not have an English version, as indicated by the absence of the English option in the language switcher.
3. Inconsistencies in Jet Engine queries within the listing grid across different languages.

Solution:
We have identified that the issue persists even after isolated testing. It appears that updates to fields such as 'Artist Bio' are not recognized when changes are made. However, changes to the 'name' field seem to be effective. For the first issue, the problem seems to be that the artist's work is not loaded in the default language. Regarding the second issue, the artist has not been translated yet, which is why the language switcher does not show the English option. For the third issue, if it works in the translated version and not in the default language, this indicates an error on our side.

If this solution does not seem relevant to your situation, please open a new support ticket with us.

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.

Tagged: 

This topic contains 12 replies, has 2 voices.

Last updated by Marcel 1 year, 8 months ago.

Assisted by: Marcel.

Author Posts
October 14, 2023 at 2:39 pm #14577329

mohammad-rezaG

Tell us what you are trying to do?
I'm trying to translate a page created in Elementor using JetEngine metadata.
I've created a CPT called Artistes (The primary language is French and the translated language is English). This page is populated by dynamic fields that get data from JetEngine metadata.
I don't know what the correct way of translating such a page is.
I've tried translating strings, creating a new archive and attaching it to the French version, and translating the CPT but none of the methods work.
When I try to translate the CPT, all get in the translation editor is the name of the CPT.
The language switcher doesn't show the English language either. Apparently, it's only activated once the page or CPT has been translated.

I would like to know what the correct flow is for translating Elementor archives or templates created using Jet Engine metadata. I couldn't find a complete answer in the docs and the articles I found were not helpful.

Is there any documentation that you are following?
I've gone through all the documentation on WPML and Crocoblock regarding translating archives, CPT, strings, and templates.

Is there a similar example that we can see?
hidden link
This is a page that shows one of our artists. The data is from metadata like a featured image, a French bio, date of birth, ...

What is the link to your site?
hidden link

October 16, 2023 at 1:31 pm #14585499

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

a regular archive template should work the same way you would translate an Elementor Header or Footer. Please try if point "6. How to Set Up Language-Based Header & Footer for Dynamically Generated Pages" works for you?

Direct Link: hidden link

Best Regards
Marcel

October 20, 2023 at 11:29 am #14622807

mohammad-rezaG

Hi,
Thank you for the reply.
The link you've provided seems to pertain to older versions of Crocoblock (and probably WPML).
I couldn't find any of the settings the page points to. (see screenshot WPML template parts). I can see Template Parts (wp_template_part) and Templates (wp_template) but both are already set to translatable.
I can't see Jet Plugin settings (Jet Plugin settings.png screenshot) in Crocoblock > JetPlugins Settings tab. I tried disabling all other plugins and wiping out my litespeed plugin and browser cache but it only showed a blank page so I can't know whether it's an issue or whether the settings have changed.
All in all, I'm unable to go through the steps because things seem to have changed in the recent versions.
Thank you for any assistance you can provide on this issue.

WPML template parts.png
Jet Plugin settings.png
October 20, 2023 at 12:15 pm #14623325

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Best Regards
Marcel

October 23, 2023 at 6:41 am #14633211

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

please also provide the credentials for the WP Backend, as the input field was empty. Thank You!

Best Regards
Marcel

October 25, 2023 at 4:32 pm #14663365

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I added a "test" text to the French default language, and it seems it's not pushing any updates to the translated version.

Can you please provide a duplicator copy of your installation for local debugging? There was a translation ongoing, but if no new updates are pushed, it might prevent getting the data into the translation editor.

You can create a site copy as mentioned here: https://wpml.org/faq/provide-supporters-copy-site/.

Thank You!

Best Regards
Marcel

October 26, 2023 at 9:54 am #14668975

mohammad-rezaG

Hi,
I'm getting server timeout errors on the Duplicator build.
Can you suggest any filters that can bring the sise to under 500 MB? Maybe some file upload directories, etc ..
I've tried several times with different options but the final size is bigger than 3GB and is causing issues.
Thank you

October 26, 2023 at 4:06 pm #14672577

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

yes, you can use the pre-created filters on the right: hidden link. There, you can filter specific folders such as uploads, cache etc.

You can also filter below media files, etc. If it still does not work, you can try using "WP All in One Migration". Even if it's a bigger package, it should not cause any issues.

Best Regards
Marcel

October 27, 2023 at 6:07 pm #14681661

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

thank you! I needed to remove some plugins to get the package runnable, but it seems it worked now I can open the Backend. I'm testing it now and let you know ASAP as I find something.

Best Regards
Marcel

October 28, 2023 at 8:06 am #14682905

mohammad-rezaG

Thank you for the update. I'll eagerly await your findings.

October 31, 2023 at 5:52 pm #14702931

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

short update: I can confirm that making changes to CPT entries in French doesn't push any updates to the translated version. I will try next to isolate this by removing 3rd party plugins.

Best Regards
Marcel

October 31, 2023 at 6:45 pm #14703309

mohammad-rezaG

Hi,
I'm grateful for this update.
I hope we can solve this issue eventually.
Kind regards,
Reza

November 2, 2023 at 5:19 pm #14719981

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi Reza,

thanks for your patience. I tested it isolated and the issue persisted. It seems the update on fields such are "Artist Bio" is not taken into consideration when making any change. If you push a change on the name field, for example, then it works.

1-The English version of certain archive pages created in Elementor and using dynamic data from Jet Engine, (like hidden link or hidden link) do not have the same structure as the original french version.

The only issue I can see here is that the artist's work is not loaded, but for your default language only: hidden link.

2- Some of the archive pages do not have an English version, (like hidden link) which is apparent since the language switcher doesn't show the option of an English language at all.

Yes, the artist is not translated yet. It shows the "+" icon: hidden link.

3- My Jet Engine queries work in some parts of my listing grid, sometimes in the French version and sometimes in the English version but it isn't consistent. While I'm aware that this may seem to be an issue with Crocoblock, their support tells me that this issue is due to certain custom fields not being translated. I don't believe this is the case because these fields were created in English to begin with and wouldn't need to be translated.

This is identical to 1. If it works on a translated version and not on your default language, I can confirm an error from our side. Your conclusion what you wrote is correct.

Best Regards
Marcel