This thread is resolved. Here is a description of the problem and solution.
Problem: You created custom Beaver Builder modules and are trying to translate them. You added a custom XML configuration to the WPML settings but cannot see the 'interview header' field in the translation editor. Solution: We recommend updating your XML configuration to ensure that the fields within the 'interview_fields' array are also registered for translation. Here is the corrected XML configuration:
Please check if the module translates correctly now. If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
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.
I made custom Beaver Builder Modules, I like to translate these; I could not find the unserialized _fl_builder_data as in the documentation but in the database in table postmeta of the page I found this in the _fl_builder_data entry:
....
[pnu91yck3ft8] => stdClass Object
(
[node] => pnu91yck3ft8
[type] => module
[parent] => w1vm9gei3r28
[position] => 0
[settings] => stdClass Object
(
[interview_header] => This is a test
[nr_of_slides] =>
[interview_fields] => Array
(
[0] => stdClass Object
(
[interview_title] =>
[interview_text] =>
[interview_photo] =>
[interview_photo_src] =>
[0] =>
)
so I added:
<wpml-config>
<beaver-builder-widgets>
<widget name="interview-module">
<conditions>
<condition key="widgetType">interview-module</condition>
</conditions>
<fields>
<field type="Interview Header" editor_type="LINE">interview_header</field>
</fields>
</widget>
</beaver-builder-widgets>
</wpml-config>
to the WPML Settings Custom XML Configuration, but still when I am in edit page mode and click on the + for translate, I don't see the interview header field there
Thanks for contacting WPML forums support. I'll be glad to help you today.
Could you please log in to this sandbox site and upload Beaver builder? (hidden link)
After that, please create a test page, use this widget, and translate it to replicate the issue. If the issue is replicable, please let me know the steps to reproduce it.
nice that seems to work. I have some other modules that need translation aswell; how did you come to this XML ; Which logic is behind it so I can use that to do the other modules
There are two approaches to getting the JSON. Please check the following steps.
1) From the DB:
1- Go to your database manager
2- Go to the wp_postsmeta table
3- Search for the post ID
4- Edit the "_fl_builder_data" record
5- Copy the JSON
6- Paste it into the unserialize service
2) From the classic editor:
1- Go to WPML-> Settings
2- Select the classic editor
3- Go to WPML-> Settings-> Custom fields Translation section
4- Click "Show system fields"
5- Search for "_fl_builder_data" and set it to translate
6- Make a minor edit to the page in the default language
7- Try to translate it
8- Copy the JSON
9- Paste it into the unserialize service
I hope this helps you. If you need further info, please let me know.
Best regards,
Osama
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.