Home›Support›English Support›[Escalated to Compatibility team] WPML Bricks Builder Shortcode Translation doesn't work in Advanced Translation Editor, but in Class...
[Escalated to Compatibility team] WPML Bricks Builder Shortcode Translation doesn't work in Advanced Translation Editor, but in Class...
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.
Background of the issue:
I'm trying to translate the ws_form shortcode to change the language of the form, but it doesn't show up in the advanced translation editor. I followed the instructions here: https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/. I also added the following code to the Bricks Child Theme functions.php: // Enable ID-Based Shortcode Translation add_filter( 'wpml_tm_job_field_is_translatable', '__return_true' ); and configured the XML as follows: ws_form id . Screenshots of the issue can be found here: hidden link. The issue can be seen on this page: hidden link.
Symptoms:
The ws_form shortcode doesn't appear in the advanced translation editor, even when searching for the ID number directly. It does appear in the classic editor as a field, but in the advanced editor, it only shows 'ws_form' with no way to change the ID. I need the advanced editor for automatic translation.
Questions:
Why doesn't the ws_form shortcode appear in the advanced translation editor?
How can I change the ID in the shortcode using the advanced translation editor?
it is escalated further and it will take some more time until we have a proper fix for this, for now as workaround switch to the secondary language and manually edit the translation in Bricks.