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.

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

Problem: I want to translate a visual composer shortcode called "LS Service Block"

Solution: Please add the following code in WPML > Settings > Custom XML Configuration:

tt-wellcome title subtitle

Relevant Documentation: https://wpml.org/documentation/support/language-configuration-files/#page-builder-content

This topic contains 11 replies, has 2 voices.

Last updated by xenomedia 6 months, 1 week ago.

Assigned support staff: Alejandro.

Author Posts
April 4, 2019 at 12:18 pm #3534645

xenomedia

Tell us what you are trying to do?

I'm trying to translate the wp bakery elements

Is there any documentation that you are following?
Yes: https://wpml.org/documentation/support/maintaining-wpbakery-page-builder-compatibility-with-wpml

The just don't show up in the editor

What is the link to your site?

hidden link

April 4, 2019 at 12:21 pm #3534661

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+02:00)

Hello!
Welcome to WPML Support.
I'll do my best to help you solve this issue.

To continue, I'll need temporary access to your site.

I have just activated the appropriate boxes for the credential information i need from you. they are private so only you and i will be able to see them.

I suggest you create a temporary user, set it as an administrator and then add those credentials in the fields mentioned above.

April 4, 2019 at 12:57 pm #3535051

xenomedia

Sorry!
I forgot to make you admin.
I did that now

April 4, 2019 at 1:15 pm #3535203

xenomedia

Are you still busy?

April 4, 2019 at 2:19 pm #3535761

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+02:00)

can you please tell me where can i find the modules that are not being translated, please?

April 5, 2019 at 6:20 am #3540815

xenomedia

Hi Alejandro,
The modules I'm talking about are those in the home page for example (LC Service Block).

April 5, 2019 at 10:17 am #3543011

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+02:00)

Hello, first of all sorry if it took me so long to reply, i actually checked the site 4-5 hours ago and the system told me your were editing your homepage so i couldn't access it.

However, i registered the block you pointed out and here's the code for it (you should send it to the theme or plugin that added the shortcode so they can add it to their repository):

<wpml-config>
    <shortcodes>
        <shortcode>
            <tag>tt-wellcome</tag>
            <attributes>
                <attribute>title</attribute>
                <attribute>subtitle</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

you can also check the process so you can learn how to do it yourself: hidden link
and the documentation i followed: https://wpml.org/documentation/support/language-configuration-files/#page-builder-content

you just need to know the name and attributes of the shortcodes, and you can do that by selecting the "classic mode" in wp bakery.

example: [my_shortcode text='this is text' subtitle='this is subtitle']
"my_shortcode" would be the name/tag of the shortcode
"text" and "subtitle" would be its attributes.

Let me know how it goes.

April 5, 2019 at 10:58 am #3543565
xenomedia

Hi Alejandro,

It is going great now you got it working :O). I couldn't find it. Thanks for explaining!

I have one more question. We did the footer widgets last time. They look good in the string translation, but in the Dutch version the title of two show the English version. They are translated though. I can't seem to get it fixed. Can you explain what I should do?

New threads created by Alejandro and linked to this one are listed below:

https://wpml.org/forums/topic/split-cant-translate-wp-bakery-elements/

April 5, 2019 at 11:13 am #3543635

xenomedia

Hi Alejandro,

I translated the home like you suggested, but I must be doing something wrong as the English version is showing on the Dutch version :O(

April 5, 2019 at 11:14 am #3543647

xenomedia

Hi Alejandro,

The home is working :O). Just the two widgets now....

April 5, 2019 at 12:59 pm #3544399

Alejandro
Supporter

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

Timezone: Europe/Rome (GMT+02:00)

I split the ticket and answered there ( ticket: https://wpml.org/forums/topic/split-cant-translate-wp-bakery-elements/)

Please close this ticket if the initial issue is now resolved.

See you on the other ticket!

April 9, 2019 at 7:38 am #3563717

xenomedia

My issue is resolved now. Thank you!