Background of the issue:
I am trying to translate a page that, inside the Betheme bloc editor, contains a Leaflet map through quite a lot of shortcode. I want to exclude this string from the translation table because it exceeds the maximum size possible. I already tried to use: <code><div translate="no"> [leaflet_map id="your-map-id"] </div></code> and <code><?xml version="1.0" encoding="UTF-8"?> <wpml-config> <shortcodes> <shortcode name="leaflet-map"> <ignore /> </shortcode> <shortcode name="leaflet_map"> <ignore /> </shortcode> </shortcodes> </wpml-config></code> and even passing the shortcodes inside the default WordPress content editor and not Betheme. Nothing works. Link to a page where the issue can be seen: hidden link
Symptoms:
I am unable to translate a page with a long shortcode for a Leaflet map, and attempts to exclude it from the translation table have failed.
Questions:
How can I exclude a long shortcode from the translation table?
Why are my attempts to exclude the shortcode not working?
Thanks for contacting WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
Please log in to this hidden link">sandbox site and try to replicate the issue. If it is replicable, please let me know how to reproduce it so I can check it and consult our second-tier support team.