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

Last updated by micheleB-25 1 year, 10 months ago.

Assisted by: Osama Mersal.

Author Posts
June 15, 2023 at 10:12 pm #13835609

micheleB-25

Hello,
How can I edit the html module content of Beaver Builder on the advanced WPML editor?
Is there any custom instruction to set on "Custom XML Configuration"?
Now, I can't see in the editor this field.

This is the code generated in the frontend:

<div class="fl-module fl-module-html" data-node="...">
	<div class="fl-module-content fl-node-content">
		<div class="fl-html">
			...

Thanks.
Regards,
Michele

June 16, 2023 at 3:44 pm #13841517

micheleB-25

I've tried to apply these instructions, but Beaver Builder creates a mess of code:
https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/

Could someone show me how to add the "HTML" Beaver Builder module/widget on WPML advanced editor? On the classical editor, the "HTML" displays correctly; on the advanced, not.

June 17, 2023 at 6:28 am #13843287

micheleB-25

I've tried to use this instruction but not work:

<wpml-config>
<beaver-builder-widgets>
    <widget name="html">
      <fields>
        <field type="module" editor_type="LINE">html_code</field>
      </fields>
    </widget>
  </beaver-builder-widgets>
</wpml-config>
June 18, 2023 at 9:56 am #13844887

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) First of all, sorry for the late reply due to a higher workload. The HTML module might not be translatable using the translation editor, so please try to translate it manually by editing the translated page using the page builder.

Kindly check our guide about manual translation. (https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/)

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me much information about how your site is configured.

Best regards,
Osama

June 18, 2023 at 11:04 am #13845279

micheleB-25

Hi Osama,
I am attaching the "debug information" for your deeper analysis.
The strange thing is that with the classic WPML editor, the Beaver Builder HTML form is translatable, while with the advanced editor, it is not.
Eventually, I would only need to translate the ID of this shortcode on the advanced WPML editor (refers to Fluent Forms):

[fluentform type="conversational" id="1"]

I tried this shortcode (set to "Custom WPML Configuration"), but the advanced WPML editor only sees "conversational" field:

<shortcodes>
    <shortcode>
      <tag>fluentform</tag>
      <attributes>
        <attribute>conversational</attribute>
        <attribute>id</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
June 18, 2023 at 11:19 am #13845287

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please try the following steps:

1- Add the following code to functions.php in your theme folder

add_filter( 'wpml_tm_job_field_is_translatable', '__return_true' );

2- Edit the page in the default language
3- Make a minor edit and update it
4- Update the translation
5- Use the search field in the top left corner to search for the ID. (1)
6- Translate the ID

Kindly let me know if the above steps fixed the issue.

Best regards,
Osama

June 18, 2023 at 5:32 pm #13846023

micheleB-25

Unfortunately, this code not works.
Anyway, I decided to return to the classic WPML editor; it allows much more translation than the advanced one; the latter certainly makes translation easier/faster, but I prefer productivity to speed.
Thanks for the support, Osama.