Skip Navigation

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 topic contains 4 replies, has 2 voices.

Last updated by Dražen Duvnjak 4 years, 6 months ago.

Assisted by: Dražen Duvnjak.

Author Posts
May 19, 2020 at 12:07 pm #6167175

emilM-6

How do you translate the BeTheme Header Builder function. It says your plugin is compatible with BeTheme but according to BeTheme there is currently no way to translate the BeTheme Header Builder?

I am trying to translate a custom text in the BeTheme Header Builder + a button but neither can be targeted with the string translation..

Here is a similar post about the problem: https://wpml.org/forums/topic/wpml-header-builder-translation/.

May 20, 2020 at 1:45 pm #6178359

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

I see you have another ticket where my colleague is already dealing with this issue. Please do not open new tickets, we limit 1 ticket per issue.

Ticket: https://wpml.org/forums/topic/split-wpml-header-builder-translation

I am providing what I think is a solution, and if it is not working for you please let me know and continue your conversation with Marcos in the ticket opened first.

I have found similar tickets and it seems it is possible, but header builder content is not saved in the most convenient format you will need to be very careful when editing it. Unfortunately, we can not affect how the header builder is working and saving its content.

In WPML >> Settings >> Custom XML Configuration section add next code:

<wpml-config>
    <admin-texts>
        <key name="mfn_header_builder"/>
    </admin-texts>
</wpml-config>

Now whole header code shows under WPML> String translation, under "admin_texts_mfn_header_builder" > "mfn_header_builder"

Copy code, search for text, URL you would like to change, and change it manually.

Please check:
- https://wpml.org/forums/topic/wpml-translat-betheme-header-builder-plugin/
- https://wpml.org/de/forums/topic/elemente-aus-betheme-header-builder-nicht-als-string-sichtbar/

Let me know how it goes.
Thanks,
Drazen

May 20, 2020 at 3:57 pm #6179287

emilM-6

You're saying it is not the most convenient format. I have now managed to translate it, but what does this mean in practice? Will it cause errors, slow down my site or can I not update or something?

May 20, 2020 at 4:38 pm #6179783

emilM-6

Also – is it possible to delete the translation management plugin now that I've added the XML and fixed it, or will that remove the translation I did?

And finally... Should I do something now that I am done translating to speed up the site in general?

May 21, 2020 at 8:03 am #6184293

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

You're saying it is not the most convenient format. I have now managed to translate it, but what does this mean in practice? Will it cause errors, slow down my site or can I not update or something?

It means regular users will have trouble understanding how to add translation and edit that code. It is not simple string to string translation.

Also – is it possible to delete the translation management plugin now that I've added the XML and fixed it, or will that remove the translation I did?

And finally... Should I do something now that I am done translating to speed up the site in general?

No, you need to have Translation Management installed in order to have a Custom XML configuration option.

If you are experiencing a performance issue you can open a new ticket and we will be glad to check the issue.

Otherwise, you can check our blog:
- https://wpml.org/faq/prevent-performance-issues-with-wpml/

Since the original issue is solved, is it ok if we close this ticket and mark it resolved?

Please close 2nd same ticket also, if you are having new issues with WPML please open a ticket and we will be glad to help. 🙂

Thanks and regards,
Drazen