Skip Navigation

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

Problem:
The client was having trouble displaying certain sections of their site after translation, which is built with WP Bakery and uses the GARDIS theme.

Solution:
1. We updated the translated testimonial posts on the home page, which resolved the display issue. We asked the client to check if the translated home page works correctly.

2. For the About page, we registered two unregistered modules by adding custom XML code in WPML-> Settings-> Custom XML tab:

<wpml-config><br />  <shortcodes><br />    <shortcode><br />      <tag>trx_sc_title</tag><br />      <attributes><br />        <attribute>title</attribute><br />        <attribute>subtitle</attribute><br />        <attribute>description</attribute><br />        <attribute>link_text</attribute><br />        <attribute>link</attribute><br />      </attributes><br />    </shortcode><br />    <shortcode><br />      <tag>trx_sc_button</tag><br />      <attributes><br />        <attribute>title</attribute><br />        <attribute>subtitle</attribute><br />        <attribute>link</attribute><br />      </attributes><br />    </shortcode><br />  </shortcodes><br /></wpml-config>

After adding the code, we updated the page in the default language and its translation. We asked the client to verify if it's translated correctly.

3. We provided additional tips for the translation process:
- The contact form needs to be translated, and we provided a guide for assistance: Using Contact Form 7 with WPML.
- In Services posts, the icon is not automatically copied to the translated post, so it needs to be selected manually.
- Theme options inside the page's edit screen are not copied to the translated pages, so they also need to be selected manually.

If this solution doesn't look relevant, please open a new support ticket.

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

Last updated by Osama Mersal 12 months ago.

Assisted by: Osama Mersal.

Author Posts
January 19, 2024 at 11:19 pm #15206651

Jose Bautista

Hello, sorry to bother you again.
I'm trying to translate sections of my site but dont display several parts (it's built with WP Bakery, the theme is GARDIS), . Could you please help me?

Last time Carlos Rojas helped me solving ather issues.}
If you want to review last ticket youll find login data.

¿Cuál es el enlace a su sitio?

hidden link

dos.jpg
January 20, 2024 at 8:27 pm #15207657

Jose Bautista

Noticed that home page (spanish translation) is missing altought I already translated it. 🙁

HOME EN ESPANOL.jpg
January 21, 2024 at 12:45 pm #15208253

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) First of all, sorry for the late reply; it was due to a higher workload. The used page builder modules might need to be registered for translation before translating the page.

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

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

January 22, 2024 at 7:37 pm #15213349

Jose Bautista

WP memory limit and PHP memory issue solved.

I reviewed the information on the link you provided about registering the modules, but frankly, it's something that goes beyond my limited knowledge to solve on my own. Could you help me with that matter?

Also, the homepage was already translated. It was when I translated the testimonials section that it "disappeared".

January 23, 2024 at 8:52 am #15214726

Osama Mersal
Supporter

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

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

Hi,

Thanks for your update. 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.

Best regards,
Osama

January 24, 2024 at 9:35 am #15220615

Osama Mersal
Supporter

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

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

Hi,

1) Thanks for the access details. The home page's issue was with the testimonial posts, so I updated the translated posts, which fixed the issue. Please check if the translated home page works correctly. (hidden link)

2) The About page has two unregistered modules, so I registered them by adding the following code in WPML-> Settings-> Custom XML tab.

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>trx_sc_title</tag>
      <attributes>
        <attribute>title</attribute>
        <attribute>subtitle</attribute>
        <attribute>description</attribute>
        <attribute>link_text</attribute>
        <attribute>link</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>trx_sc_button</tag>
      <attributes>
        <attribute>title</attribute>
        <attribute>subtitle</attribute>
        <attribute>link</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

After that, I updated the page in the default language and its translation. Kindly check it and let me know if it's translated correctly. (hidden link)

3) I noticed some things on your site that could help you during your translation process:

1- The contact form has not been translated, so please translate it. Kindly check this guide. (https://wpml.org/documentation/related-projects/using-contact-form-7-with-wpml/)

2- In Services posts, the icon is not copied to the translated post, so you might need to select it manually.

3- The theme options inside the page's edit screen are not copied to the translated pages, so you might need to select it manually. (Kindly check the attached screenshot)

Best regards,
Osama

2024-01-24_11-34-01.jpg