Skip Navigation

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

Problem:
The client is experiencing an issue where WPBakery icon box titles are not displaying in German after translation, only in English when switching to the German version of the site.
Solution:
We added custom XML configuration to the WPML settings to ensure that the icon box titles are translatable. Here are the steps we recommend:
1. Navigate to WPML-> Settings-> Custom XML Configuration tab.
2. Add the following code:

<shortcode><br />      <tag>us_iconbox</tag><br />      <attributes><br />        <attribute encoding="vc_link">link</attribute><br />        <attribute>title</attribute><br />      </attributes><br /></shortcode>

3. Update the page in the default language.
4. Update its translation using the WPML translation editor. You can find the translation editor at WPML translation editor.

If this solution does not seem relevant to your issue, please do not hesitate to open a new support ticket with us for further assistance.

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 12 replies, has 2 voices.

Last updated by Osama Mersal 11 months, 3 weeks ago.

Assisted by: Osama Mersal.

Author Posts
December 19, 2023 at 7:47 pm #15096435

mariannaF-4

I'm using wpbakery iconboxes on my website and eventhough I translated the titles into german - it's only showing in english when switching to german.

December 20, 2023 at 11:53 am #15101713

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

December 25, 2023 at 3:28 pm #15127075

mariannaF-4

I increased the memory. Can you pease forward this ticket to https://wpml.org/forums/users/alejandro-s/

December 25, 2023 at 3:34 pm #15127119

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Alejandro is currently on vacation. Please let me know if you don't mind waiting for him to get back and check the issue.

Best regards,
Osama

December 25, 2023 at 3:46 pm #15127121

mariannaF-4

Do you know until when?

December 25, 2023 at 3:49 pm #15127123

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I think he will be back on Dec 28th.

December 25, 2023 at 4:39 pm #15127277

mariannaF-4

ok so then I'd rather not wait.

Here is the test site:

hidden link

December 25, 2023 at 4:48 pm #15127285

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please share the access details to the staging site dashboard.

My IP: 156.214.145.89

December 25, 2023 at 4:52 pm #15127289

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please check the firewall rules. Kindly check this screenshot. (hidden link)

Best regards,

December 25, 2023 at 5:05 pm #15127293

mariannaF-4

Can you try again now

December 25, 2023 at 5:12 pm #15127307

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I've added the following code to WPML-> Settings-> Custom XML tab.

<shortcode>
      <tag>us_iconbox</tag>
      <attributes>
        <attribute encoding="vc_link">link</attribute>
        <attribute>title</attribute>
      </attributes>
    </shortcode>

Please update the page in the default language and update its translation using the WPML translation editor. (hidden link)

Kindly let me know if the Info Box titles appeared correctly on the front end.

Best regards,
Osama

December 25, 2023 at 5:18 pm #15127309

mariannaF-4

that worked! Can add the code to production?

December 25, 2023 at 5:22 pm #15127311

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

You can go to WPML-> Settings-> Custom XML tab in the staging site, copy the whole code, and use it to replace the code on your live site because other modules are registered.

Please check this guide to know more about registering page builder modules. (https://wpml.org/documentation/translating-your-contents/page-builders/how-to-register-page-builder-modules-and-theme-options/)

Merry Christmas!

Best regards,
Osama