Skip to content Skip to sidebar

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

Problem:
The client modified the header using the Bricks template and added a top row to the main menu. After translating from English to French, the top menu section is visible in English but not in French, despite the translations being updated.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Navigate to WPML-> Settings-> Custom Fields Translation section.
2. Click on Show System Fields.
3. Set the

_bricks_template_type

field to Copy.
4. Save your changes.
5. Edit the header template in the default language.
6. Make a minor edit and update it.
7. Update the translation using the translation editor.
8. Check the header on the front end to see if it displays correctly.

This solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at 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 the issue persists, please open a new support ticket at WPML support forum 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.

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 7 months ago.

Assisted by: Osama Mersal.

Author Posts
October 12, 2024 at 9:08 am #16281849

telmoS

Background of the issue:
I have modified the header portion using Bricks template 'header'. I added a top row to the main menu. I proceeded to translate from EN to FR and updated all missing translations.

Symptoms:
In English hidden link we can see the top menu section, in French FR hidden link we don't, however my translations are there.

Questions:
What am I doing wrong?

October 13, 2024 at 11:00 am #16283043

Osama Mersal

Hi,

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

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 need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why 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

October 13, 2024 at 12:06 pm #16283091

Osama Mersal

Hi,

Thanks for the access details. Please check if the header works correctly. (hidden link)

Please check the following steps:

1- Go to WPML-> Settings-> Custom Fields Translation section
2- Click "Show System Fields"
3- Set the "_bricks_template_type" field to "Copy"
4- Save
5- Edit the header template in the default language
6- Make a minor edit and update it
7- Update the translation using the translation editor
8- Check the header on the front end

Best regards,
Osama

October 13, 2024 at 12:19 pm #16283095

telmoS

Worked perfectly. I did not see that "Show system fields option...". Thank you.

October 13, 2024 at 1:29 pm #16283159

telmoS

Hello again.

So the steps worked for the header and I duplicated the changes several times and each time the Bricks template was updated in both languages.

However the same is not happening in the sections templates.

Taking either of these two section templates "Awards Banner" or "Customer Logos", they are correctly display in the English version but in French they are empty.

I have attempted minor changes and following the steps but I am unable to view them in French.

October 13, 2024 at 2:01 pm #16283183

Osama Mersal

Hi,

The homepage translation wasn't updated after editing the default language homepage.

After updating the translation, the sections appeared correctly.

Best regards,
Osama

October 13, 2024 at 2:43 pm #16283218

telmoS

Maybe I dont understand then. Do I have to re-translate all pages that contain Bricks templates once I change the template itself?

October 13, 2024 at 2:44 pm #16283219

telmoS

In fact, I changed the template section (customer logos and awards) and then I translated them. I then switched to French and the templates were empty so it could not be the home page.

October 13, 2024 at 2:44 pm #16283220

Osama Mersal

Hi,

No, you don't need to update all the pages. However, you must update them if you have made any changes to the default language page.

Best regards,
Osama

October 13, 2024 at 3:01 pm #16283232

telmoS

Ah gotcha. You mean because I changed the _bricks_template to "Copy" on the WPML settings page right?