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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 8:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
- | 14:00 – 17:00 | 14:00 – 18:00 | 14:00 – 18:00 | 13:00 – 17:00 | 13:00 – 17:00 | - |
Supporter timezone: Europe/Zagreb (GMT+01:00)
Tagged: Compatibility
This topic contains 0 replies, has 0 voices.
Last updated by Bruno Kos 1 week, 4 days ago.
Assisted by: Bruno Kos.
Author | Posts |
---|---|
January 7, 2025 at 9:29 am #16568664 | |
davidB-89 |
Hintergrund des Themas: Die Symptome: Fragen: |
January 7, 2025 at 10:46 am #16569013 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
I created a sandbox here: Can you reproduce this issue there on a simple page? |
January 7, 2025 at 11:34 am #16569251 | |
davidB-89 |
Did you already created the sandbox site? All the best, |
January 7, 2025 at 1:53 pm #16569815 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Yes, have you missed my previous message perhaps? The sandbox is here: |
January 8, 2025 at 5:52 am #16572047 | |
davidB-89 |
Hi Bruno, Here's the link to the post that's working: hidden link The code tags in the translation already get stripped out when I press the save button. |
January 8, 2025 at 1:09 pm #16573546 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
This has been escalated to our Compatibility team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you. |
January 14, 2025 at 6:29 am #16591245 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Can you please try the following: 1. Add the following XML configuration to set the translation options for third-party themes and plugins as per the guide at: <wpml-config> <shortcodes> <shortcode> <tag>av_codeblock</tag> </shortcode> </shortcodes> </wpml-config> 2. Access the WPML Advanced Translation Editor (ATE) and disable the "I prefer bigger segments" option. To do this: 3. Refresh the translation job as described in the guide at: 4. Re-translate the page following the same process. Let me know if this helped! |
January 17, 2025 at 5:54 am #16604393 | |
davidB-89 |
Hi, We are not using the ATE but the default wordpress editor for the translation. So what do we have to do? |
January 20, 2025 at 1:25 pm #16613615 | |
davidB-89 |
Why is this marked as solved? It's not solved? |
January 21, 2025 at 8:12 am #16616697 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
It was marked as a resolved by a customer ( according to our system), perhaps it was done mistakenly? In any case we are still investigating this because the issue does not happen for us in localhost environment, but it happens in our sandbox environment. I will keep this thread updated! |
January 27, 2025 at 7:09 am #16635956 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Can you try this and let me know if it worked in your case? 1. Locate the file: 2. Open the file and navigate to **line 45**. 3. Identify the following existing code: if ( wp_is_post_revision( $post_id ) ) { return; } 4. Add the following code snippet immediately after it: // Check if the post content contains an Enfold Code Block. if ( strpos( $post->post_content, '[av_codeblock' ) !== false ) { // Skip processing if Enfold Code Block is detected. return; } |
January 28, 2025 at 5:36 am #16639906 | |
davidB-89 |
Good morning Bruno, Ah maybe I pressed the wrong button and closed the ticket, sorry. We tried your code snippet and it fixed the problem 🙂 All the best, |
January 28, 2025 at 9:05 am #16640414 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
I am glad to hear it's working! We will address this issue in our plugin and will confirm if the solution remains as described above. I’ll provide an update here with details on when and where it will be resolved. |