Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was unable to translate certain buttons and headlines on their development site using WPML, suspecting an issue with custom XML configuration. The specific elements in question were created using WPBakery, and despite adding XML configuration for shortcode attributes, translations were not appearing.
Solution:
We advised the client to ensure their XML configuration was correctly set up for the specific shortcodes and attributes used in WPBakery. We provided guidance on creating and modifying the XML configuration file (https://wpml.org/documentation/support/language-configuration-files/). Additionally, we recommended translating URL-encoded shortcodes by following another guide (https://wpml.org/documentation/support/translating-urlencoded-shortcodes/). After reviewing the client's site directly and making adjustments to the XML, the translations were successfully updated.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend checking related known issues (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 problems persist, please do not hesitate to 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.

Tagged: 

This topic contains 19 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 3 months ago.

Assisted by: Carlos Rojas.

Author Posts
November 5, 2024 at 12:53 pm #16366741

Hendrik

actually it should be "Küsimuste korral võta ühendust". but now I realize it's combined these two strings together adding another attribute=text in there.
So this:
%5B%7B%22text%22%3A%22v%C3%B5ta%20%C3%BChendust%22%7D%5D
is
some text + "võta ühendust"

vcj_heading_animation content2="%5B%7B%22text%22%3A%22v%C3%B5ta%20%C3%BChendust%22%7D%5D" content_fixed="Küsimuste korral"

November 5, 2024 at 12:54 pm #16366744

Hendrik

So how can I target an attribute in an attribute?

November 5, 2024 at 1:02 pm #16366844

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

Actually that is an encoded text and to add the XML you should follow this auxiliary guide: https://wpml.org/documentation/support/translating-urlencoded-shortcodes/

November 5, 2024 at 2:01 pm #16367098

Hendrik

With the help of the most famous Glorfied Chatbot (which never makes mistakes .... NOT) I have come up with a code.
Should I do something in order for the changes to appear? Meaning do I have to clear cache and rescan each time I change something? - IE the change would take time, need to do somekind of a process before change appears?

November 6, 2024 at 8:33 am #16370104

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

For the changes to take effect I'd recommend editing the content in the original language -> Make a small change (especially in the elements that you registered) -> Save the changes and update the translation.