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 12 replies, has 2 voices.

Last updated by Mihai Apetrei 2 months, 1 week ago.

Assigned support staff: Mihai Apetrei.

Author Posts
July 30, 2019 at 7:44 am #4305457

markG-25

I'm using Elementor pagebuilder with some addon plugins for it.

I am trying to: Add the option in the translation page that the plugin text will be displayed for translation. The relevant plugin is a flipbox plugin that shows a short tekst with a quote from the testimonial. Currently it cannot be translated.

Link to a page where the issue can be seen: hidden link you can find the plugin (Text with a small quote). As explained above, the option to translate this string is not shown in the translator page. You will be able to enter the website by clicking on the following link: hidden link

I expected to see: Within the translation page the option that the text of the plugin can be translated.

Instead, I got: No option to translate this plugin.

When necessary, I can provide you login information. I first want to see if we could solve it maybe like this.

July 30, 2019 at 10:45 am #4306995

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for contacting WPML Support!

I will be happy to help you with this.

Taking into consideration that we are talking about an add-on for Elementor, my guess is that we might be encountering an incompatibility issue between that add-on plugin and WPML.

I created a sandbox testing environment on the link below:
hidden link

WPML + the WPML add-ons are already installed (WPML + the WPML add-ons are already installed and I set up the same languages like the ones on the live site), all I would need from you is to install the theme that you are using + the plugins needed to recreate the issue - Elementor and that add-on (the idea of a clean sandbox environment is to avoid as much as possible to add any other extra plugins that are not needed, so we would need just the WPML plugins and whatever is needed to recreate the issue.

If you will be able to recreate the issue on our servers, too, that's when I can forward this to our Compatibility team.

Will you please let me know when that's done and what is the result so that we can move forward with this?

Thank you very much for your cooperation.

I will be waiting for your response.

Kind regards,
Mihai Apetrei

August 2, 2019 at 2:31 am #4325959

markG-25

Hai Mihai,

Thank you for your fast response about my problem and setting up a sandbox environment. I just added the theme and the relevant plugins and added the add-on on the sample page.

When I tried to translate the page, it again did not show up in the translation options.

Thank you for your help again in advance.

Kind regards,

Mark

August 2, 2019 at 4:25 pm #4331429

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for recreating the issue.

I will spend more time on this and I will get back to you as soon as I have more feedback.

I will leave the ticket assigned to myself for the moment.

PS: Just a note that I won't be working on the weekend so I will be able to get back to you at the beginning of next week.

Kind regards,
Mihai

August 5, 2019 at 3:34 pm #4341639

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi Mark and thank you very much for your patience.

Can you please confirm that the Flipbox feature is coming from the add-on plugin called "Essential Addons for Elementor"?

If that is the case, from what I can see, that plugin is not part of our official WPML-compatible plugins directory here (https://wpml.org/documentation/plugins-compatibility) so I will forward this to our Compatibility department going forward as my guess is that there is a compatibility issue happening.

Please let me know. I will be waiting for your confirmation.

Kind regards,
Mihai

August 6, 2019 at 3:09 am #4343901

markG-25

Hai Mihai,

Thank you for your help! The flipbox feature is indeed coming from the "essential addons for elementor plugin". So, hereby my confirmation.

Kind regards,

Mark

August 6, 2019 at 1:28 pm #4347785

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi Mark and thank you for the confirmation!

I am redirecting this situation to our Compatibility department and I will get back to you as soon as there is more feedback on this matter.

I am also leaving the ticket assigned to myself for the moment.

Kind regards,
Mihai

August 7, 2019 at 3:16 pm #4356427

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi.

I wanted to let you know that this has been reported to the Compatibility team and I am currently waiting for feedback from them.

As soon as I have an answer, I will get back to you.

I will also set the status of this ticket to "Escalated to Compatibility team".

Kind regards,
Mihai

August 9, 2019 at 7:47 am #4368273

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for your patience.

Our compatibility team got back to me with a solution and after I tested it on the sandbox and confirmed that it's working, I'm sharing it with you too now.

You can see it working on the sandbox here:
hidden link

What you need to do is this:

- Log in via FTP or hosting panel file manager
- go to wp-content/themes/phlox/functions.php
- open the .php file
- add the code below on a new line inside that .php file:

/**
* Translate Flipbox from Essential Addons for Elementor
* @param array $widgets
* @return array
*/
add_action('init', function (){
    add_filter( 'wpml_elementor_widgets_to_translate', 'wpml_translate_elementor_flipbox' );
});

function wpml_translate_elementor_flipbox($widgets) {
    $widgets['eael-flip-box'] = [
    'conditions' => [ 'widgetType' => 'eael-flip-box' ],
    'fields' => [
        [
        'field' => 'eael_flipbox_front_title',
        'type' => __('Front Title', 'sitepress'),
        'editor_type' => 'LINE'
        ], //END OF FIRST WIDGET ELEMENT REGISTRATION
        [
        'field' => 'eael_flipbox_front_text',
        'type' => __('Front Text', 'sitepress'),
        'editor_type' => 'AREA'
        ], //END OF SECOND WIDGET ELEMENT REGISTRATION
        [
        'field' => 'eael_flipbox_back_title',
        'type' => __('Back Title', 'sitepress'),
        'editor_type' => 'LINE'
        ], //END OF THIRD WIDGET ELEMENT REGISTRATION
        [
        'field' => 'eael_flipbox_back_text',
        'type' => __('Back Text', 'sitepress'),
        'editor_type' => 'AREA'
        ], //END OF FOURTH WIDGET ELEMENT REGISTRATION
        ],
    ];

    return $widgets;
}

- After that, go to the original/default language page and make a small change anywhere in the text of the flipbox
- Save the original page
- Go to the translation page and now you should be able to see the fields for translation

Please let me know if that solved the issue for you, too.

If you are not able to implement it, I will be more than happy to help you with this, just let me know 🙂 (I will need FTP access to the live site for this, of course).

I will be waiting for your response.

Kind regards,
Mihai

August 9, 2019 at 8:23 am #4368667

markG-25

Hi Mihai,

Thank you for your great support all the time! You did a great job.
I'm happy to hear the solution has been found and it should be able to work now.
Tomorrow I'm going to follow your steps and implement the solution.
I'll get back to you tomorrow with the results.

Thanks again for your help!

Kind regards,

Mark

August 9, 2019 at 8:49 am #4368807

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi Mark!

The pleasure is ours. 🙂

I will be waiting for your response right after you have the chance to try the solution on the live site, too.

Kind regards,
Mihai

August 11, 2019 at 5:56 am #4376587

markG-25

Hi Mihai,

The problem is as far as I see solved. I checked everything yesterday and it works.
I'm awaiting the feedback of my client if he's satisfied and after that everything will be solved :).

Thank you for your support.

Kind regards,

Mark

August 12, 2019 at 2:49 pm #4381745

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi Mark.

That is great.

I am assigning the ticket back to you for the moment and if this issue will be confirmed as resolved by the client, can you also please mark this ticket as resolved, too?

Let me know.

Kind regards,
Mihai