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.

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Ilyes 1 year, 4 months ago.

Assisted by: Ilyes.

Author Posts
August 9, 2023 at 3:15 pm #14177105

nathanY

We have added the translations for Elementor templates that we used in the modules page, but it's not showing up in the front end.

We made sure translations are 100% and hit the complete button.

we also tried these steps:
- Go to WPML -> Support in your admin dashboard
- Click the “troubleshooting” link bellow the plugin versions list
- Look for the “Clean up” section and hit these buttons:
# Clear the cache in WPML
# Remove ghost entries from the translation tables
# Fix element_type collation
# Synchronize local job ids with ATE jobs
# Synchronize translators and translation managers with ATE
# Set language information
# Fix post type assignment for translations

- Go to your affected template, and do a minor modification to the original language content
- Try to translate that template again and see if it'll work fine this time

image (43).png
image (42).png
August 10, 2023 at 8:25 am #14180153

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Thank you for contacting WPML team,

Have you not confirmed that this issue got solved under https://wpml.org/forums/topic/elementor-template-translation-not-showing-2/#post-14155419 ?

Is the template still not showing up in the frontend, if yes, which one is the concerned template? Or is this related to a different issue?

Thank you for your explanation!

August 10, 2023 at 2:33 pm #14183367

nathanY

Yes, those were the templates used in home page, and they are working fine now.

This ticket is for the templates used in modules page. The difference between these tickets is that, it was showing "need translation" icon previously, whereas, for these templates, it shows the "pen" icon indicating content successfully edited?

So we thought of opening a new ticket instead.

We also tried the above-mentioned steps that didn't fix it.
Please refer the screenshot for template names.

image (45).png
August 10, 2023 at 7:52 pm #14184915

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello again,

I should look into that too, I tried the previous access you shared and didn't work for me.

Could you please share new access to your site?

Make sure to share it in the private field below and save a backup of your site.

Thanks 🙂 !

August 11, 2023 at 3:06 pm #14189481

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hey,

Somehow, WordPress login page is giving me this notice :

"Unknown email address. Check again or try your username."

This is why I asked before to give another access, I tried this before and had the same message, the username doesn't exist.

August 14, 2023 at 8:35 am #14195917

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello again,

Thank you for your patience,

I had to delete your queue as these modules were opened for translated before with another user and didn't “complete” them.

Even though they look completed, but they somehow were stuck this way, it seems like emptying the “pending” queue from translation management > Jobs > Filter by status > Delete job

Then I went to check the translation of these modules, I found that these two modules require some re-translation :
1- hidden link : this one is entirely in English
2- hidden link : this one is missing one element (not sure if it is intentional)

Please let us know if that was enough to solve your issue,

Best,

August 14, 2023 at 1:56 pm #14197645

nathanY

Hi, thanks for your response.
However, the issue still is not fixed. It shows English content in place of Spanish. Please see the attached screenshots.

image (93).png
image (92).png
image (91).png
August 14, 2023 at 4:50 pm #14199235

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello again,

My apology, I could've verified the front-end before replying,

And indeed, the issue turned out to be related to the Template ID number not being translated inside the widget "Accordion" and "Tabs" from the plugin "Exclusive Addons Elementor" :

1- hidden link
2- hidden link

This plugin is indeed compatible, however, I think these two widgets requires some testing.

We need to isolate the issue and send it to our compatibility team once replicated.

I’ve created a sandbox here: hidden link

I’ve already configured WPML in 2 languages.

Please do the following:

- Open the Sandbox link mentioned above

- Download and activate the Elementor and Exclusive Addons Elementor plugins

- Create a basic Template using Elementor and call that template on one page using the Accordion and Tabs widget (similar to what you have under your live site)

- Translate the template and page to Spanish and save the changes.

Please note that we only need the theme/plugin and the related functionality, you don’t need to setup an entire website or clone your existing site.

https://wpml.org/faq/how-to-reproduce-issues-and-share-them-with-wpml-support/

Let me know when it is done!

Thank you for your cooperation 🙂

August 15, 2023 at 3:49 pm #14204229

nathanY

Hi, it is done, and we recreated the issue. Please see the screenshot.

image (94).png
August 15, 2023 at 4:27 pm #14204367

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Thank you for taking the time to replicate this,

I have escalated the issue to our compatibility team, I will get back to you once I get an update,

Best!

August 21, 2023 at 7:26 am #14260241

Ilyes
Supporter

Languages: French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

I have received an update from our developers and we found a workaround,

the tabs are now working under the staging site : hidden link

To make it work on your live site, please :

1- Save a backup of your site
2- Open the wp-content\plugins\exclusive-addons-for-elementor\elements\tabs\tabs.php file
3- Replace line 1259:

<?php echo Plugin::$instance->frontend->get_builder_content_for_display( wp_kses_post( $tab['exad_tab_content_save_template'] ) ); ?>

With

<?php 
	// WPML Workaround for compsupp-6922
	if (class_exists('Sitepress')) {
		$post_type = get_post_type( $tab['exad_tab_content_save_template'] );
		$tab['exad_tab_content_save_template'] = apply_filters( 'wpml_object_id', $tab['exad_tab_content_save_template'], $post_type, true );
	}								
	
	echo Plugin::$instance->frontend->get_builder_content_for_display( wp_kses_post( $tab['exad_tab_content_save_template'] ) ); 
?>

We are also contacting the authors of Exclusive Addons in order to fix this on their future versions,

I hope this helped and thank you for your patience! 🙂