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.

This topic contains 6 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 6 months ago.

Assisted by: Prosenjit Barman.

Author Posts
October 9, 2023 at 10:09 am #14538203

alexanderS-185

Dear Support,
I use WPML to support German and English on my Website. I am using the elementskit Advanced Accordion on the following page:
hidden link

I enabled the "EKIT Advanced Tooltip" for this widget (Screenshot in Elementor Pro attached):
*In German it works fine on hover ("Sie können die einzelnen Phasen durch Maus-Click öffnen ...").
*In English (you can use the language selector), the tooltip appears in German, too.

I can't find (and therefore, can't translate) the string in WPML. Please guide me on how to find it.

What I have considered already:
1- https://wpml.org/forums/topic/elementskit-menu-and-accordion-issues/
* I followed that guide to be able to translate the Advanced Accordion content.

2- hidden link
I can't find elementskit_template in the WPML settings (However, elementskit_content is enabled due to the above)

With best wishes,
Alexander

EKIT-Advanced-Tooltip.png
October 10, 2023 at 7:37 am #14546299

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Alexander,
Thanks for contacting WPML Support.

I understand the issue you're having and will try my best to assist you in this matter.

If translation support is added for the Tooltip text field, then you should be able to translate the text. However, let's try a possible solution and check if that helps to solve the issue.

- Please go to WPML > Theme and Plugins localization.
- Select the "ElementsKit" plugin(both free and PRO) and scan the plugin for String
- Once done, please go to 'WPML > String Translation' and check if the text appears for translation.
- If you can see the text in the list, simply add the translation by clicking on the '+' icon
- But, if you don't see the text in the list, please follow the instructions mentioned here: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

October 10, 2023 at 9:52 am #14548229

alexanderS-185

Hi Prosenjit,
Thank you for the hint. I tried that yesterday, but I did not find the string there. However, I can spot it in the webpage's code (please see below). Does that help to come up with a specific suggestion?

With best wishes,
Alexander

<div class="elementor-element elementor-element-fda58b1 elementor-widget elementor-widget-elementskit-advance-accordion" data-id="fda58b1" data-element_type="widget" data-settings="{"ekit_adv_tooltip_enable":"yes","ekit_adv_tooltip_content":"Sie k\u00f6nnen die einzelnen Phasen durch Maus-Click \u00f6ffnen. F\u00fcr die jeweilige Phase sehen Sie dann die Challenges und Coaching-M\u00f6glichkeiten.","ekit_adv_tooltip_image":{"url":"","id":"","size":""},"ekit_adv_tooltip_position":"top","ekit_adv_tooltip_animation":"fade","ekit_adv_tooltip_arrow":1,"ekit_adv_tooltip_trigger":"mouseenter","ekit_adv_tooltip_width":{"unit":"px","size":"","sizes":[]}}" data-widget_type="elementskit-advance-accordion.default">

October 10, 2023 at 8:05 pm #14553657

alexanderS-185

Hi Prosenjit,
JFYI - I tried all the suggestions in the help article you shared. However, the string did not show up, either.
It can be viewed in the HTML output (please refer to my previous posting).

I assume that it is easy to reproduce. If you invite me to a Sandbox environment with Elementor Pro, ElementsKit Lite & Pro, I will gladly do that.

With best wishes,
Alexander

October 11, 2023 at 5:38 am #14555113

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Alexander,
Thank you for trying out the suggestion.

I prepared a sandbox for you so that you can replicate the same issue there. the Autologin link to the sandbox is given below.

- hidden link

The WPML and its add-ons are already installed there. Please install the Elementor, ElementsKit Lite, and PRO and try to reproduce the issue.

Please let me know the update. I will be happy to help further.

Best regards,
Prosenjit

October 11, 2023 at 8:57 am #14557225

alexanderS-185

Hello Prosenjit,
Thank you for providing the sandbox. You can reproduce the issue there:
*The site has 1 homepage (Elementor #74)
*It contains an EKIT Advanced tab with the EKIT Advanced Tooltip enabled
*It works fine, the tooltip appears on hover

*I configured WPML, as outlined on WPMET's site (enable WPML, translating sub items)
*I translated the content (page, EKIT content) manually to German (edited the prefix)
*You can switch the language to German on the page (footer)
-The advanced accordion including content was translated (DE prefix)
-The Advanced Tooltip still appears in English

NB: The EKIT Advanced tooltip could not be found and, therefore, not translated (not in the Advanced Translation editor, not in the String Translation ...)

However, it appears in the page's source code.

Expected behavior: The EKIT Advanced tooltip content is offered for translation and can be translated.

PS: Please let me know when you are done so that I can remove my EKIT pro license for the sandbox.

October 12, 2023 at 5:27 am #14562543

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Alexander,
Thank you for taking the time to recreate the issue.

I've reviewed and successfully identified a solution for the problem. As the tooltip module doesn't have built-in translation support, we need to set up the WPML Configuration manually to make the module translatable. Please try the steps below and I hope the issue will be solved after that.

- Please go to 'WPML > Settings' and click on the 'Custom XML Configuration' tab
- Add the following code there and save the changes.

<wpml-config>
  <elementor-widgets>
    <widget name="elementskit-advance-accordion">
      <fields>
        <field>ekit_accordion_items</field>
        <field>ekit_adv_tooltip_enable</field>
        <field>ekit_adv_tooltip_content</field>
      </fields>
      <fields-in-item items_of="ekit_accordion_items">
        <field>acc_title</field>
        <field>ekit_acc_is_active</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

- Once done, open the default page and make a small change.
- Save the changes and try to update the translation.
- The contents of the tooltip will be visible in the Editor.
- In the translation editor, you will also see fields named 'ekit_adv_tooltip_enable' and 'ekit_acc_is_active'. The translation of these two fields must have to be the same as the value defined for default. I hope you can understand,

I hope it will help. Feel free to let me know if there is anything else if you need help. I will be happy to help.

Best regards,
Prosenjit