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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Supporter timezone: Pacific/Easter (GMT-06:00)

This topic contains 16 replies, has 2 voices.

Last updated by Ilyes 9 months, 4 weeks ago.

Assisted by: Ilyes.

Author Posts
August 6, 2024 at 6:09 pm #16045008

Marco Vasconcelos

Background of the issue:
I am facing many problems with the translation of a project in Bricks Builder. On the front end of the site, only the custom fields created in ACF are displaying the translation in the Archive and Single Post Templates. All other static elements, such as titles, text, etc., continue to be displayed in the default language. I have tried all the solutions suggested in the forum, such as increasing the WP memory limit, modifying the theme's Ajax file, and, as a last resort, replacing all CTP elements with custom fields (the only solution that worked, but it’s not ideal). Here is an example of a single post with all customized fields: [Example working](hidden link). Here is an example of a standard single post: [Example with partial translation](hidden link). I am using version 1.9.8 of the Bricks theme because version 1.9.9 has a bug that disables the post filters in the builder (a fix is available, but it’s still in beta). Pages on the site that use queries to load dynamic data are facing the same issue, like this one: [Page with issue](hidden link). Lastly, I would also like to know why the Header element (mega menu) is not being translated. If necessary, I can provide access credentials to the project. Link to a page where the issue can be seen: hidden link

Symptoms:
On the front end, only custom fields created in ACF are displaying the translation in the Archive and Single Post Templates. All other static elements, such as titles and text, continue to be displayed in the default language. The Header element (mega menu) is also not being translated.

Questions:
Why are only the custom fields created in ACF displaying the translation in the Archive and Single Post Templates?
Why are all other static elements, such as titles and text, continuing to be displayed in the default language?
Why is the Header element (mega menu) not being translated?

August 7, 2024 at 3:10 am #16046028

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

So it turns out we are currently working with Bricks on a recent compatibility issue that concerns major WPML functionalities, we need to isolate the issue and escalate it with the other cases,

I’ve created a sandbox here: hidden link

I’ve already configured WPML in 2 languages.

Please do the following:

- Open the Sandbox link mentioned above
- Download and activate the bricks theme and editor you are using.
- Create a page using the Bricks widgets and buttons
- Translate the page and save the changes.

Does the issue replicate?

Please note that we only need the theme/plugin and the related functionality, you don’t need to set up an entire website or clone your existing site.
https://wpml.org/faq/how-to-reproduce-issues-and-share-them-with-wpml-support/

And to speed up the process, I have already added your ticket to the Bricks compatibility project,

I'm yet to get a an ETA on when we could expect a solution or a workaround, but I should be able to get more info on the once the issue is replicate on sandbox,

Let me know when it is done.
Best regards,

August 7, 2024 at 1:03 pm #16048024

Marco Vasconcelos

hidden link

!!! Your sandbox has expired !!!

August 7, 2024 at 1:18 pm #16048155

Marco Vasconcelos

Hi Ilyes,

I appreciate your efforts, but I will use the alternative solution I found by replacing all page data with ACF dynamic fields, as I need to complete the project translation and launch it this week.

Given the progress of these fixes, frequently mentioned in the groups and forums I'm part of, this isn't a new issue, and I can't simply inform my superior that we need to wait for a fix since we have a deadline. You know how it is, right?

I'll try to collaborate in the sandbox (as long as it’s working) and delete the staging site, as my server is overloaded.

Thank you!

August 7, 2024 at 1:18 pm #16048156

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Here is another sandbox link : hidden link

August 7, 2024 at 1:23 pm #16048231

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

And you are totally right,

Unfortunately, in cases like this one, it is a collaborative work between us and Bricks team, we are in constant contact with them developing a new compatibility feature.

In the meantime, please use ACF and custom fields, and please find a time to create the sandbox environment, this will help us expedite a solution for all reported cases,

Best,

August 7, 2024 at 1:56 pm #16048472

Marco Vasconcelos

Hi, I did my best to create the sandbox environment. It is important to note that our projects use two other complementary plugins in conjunction with Bricks (Core Framework and Advanced Themer for Bricks). These add features such as advanced CSS management and embedded ACF Pro.

I am available to help with anything you may need.

August 8, 2024 at 2:55 pm #16053534

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello again,

Could you please check why wordpress-1001149-4782837.cloudwaysapps.com is no longer accessible?

Please create a permanent user using my email ilyes.b@onthegosystems.com .

We need it as the issue doesn't seem to be replicated on the Sandbox and I could translate all the content on CPTs and Default post types as shown here : hidden link

If you check this project page I translated from English to Portuguese : hidden link

All content and Buttons are translated, which imply that either another plugin is causing a conflict or there is a configuration issue with your site.

Let me know if you have an idea what could the difference be.

Next step would be disabling most of your plugins on the staging copy to imitate the sandbox environment.

Best,

August 8, 2024 at 4:58 pm #16053916

Marco Vasconcelos

Just to let you know that I updated the Bricks version to 1.10 in this staging. According to the Changelog of this version, there are many compatibility fixes with WPML. I haven't been able to check it yet, but I'm looking into it.

hidden link

August 11, 2024 at 4:05 pm #16059655

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Thank you for your last reply, it helped me better understand the issue,

Here is a video I recorded to better explain what the issue is : hidden link

So the post type Templates (bricks) is not translatable in the settings, when changing it to translate, it should work,

However, since the templates are loading content from ACF fields, the fields labels are also shown under ATE, which should not be the case,

This is a compatibility issue, that I will be escalating to our team,

Let me know if you have anything else that we need to take into consideration

August 15, 2024 at 10:01 pm #16076325

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Could you please check if the project is translated correctly here : hidden link

If you access the sandbox again, you will see that we installed ACFML to ensure the compatibility between WPML amd the ACF integration under Advanced Themer for Bricks,

If the sandbox seems working correctly for you, please install ACFML 2.1.3 on your staging and check if that helps, i couldn't test it myself as it seems to be down now,

Best,

August 19, 2024 at 1:01 pm #16083581

Marco Vasconcelos

HI Ilyes,

Sorry for the delay in responding due to lack of time.

I use the plugin mentioned (ACFML) in my project and it does a good job of translating CPTs and Custom fields. Unfortunately, I don't have access credentials in your sandbox to check if the translation went as expected. Can you send me these credentials or send me an access link to the WP backoffice?

Thanks!

August 19, 2024 at 1:32 pm #16083924

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

You should be able to access through the same link : hidden link

August 21, 2024 at 2:01 pm #16090820

Marco Vasconcelos

Hello again, I’d like to leave my feedback. I spent a few hours over the last two days trying to reproduce the same translation environment with the templates in your sandbox, but for some reason—either compatibility or server configuration—the Bricks templates are not loading on the front-end. I deleted them all, leaving only one for testing, but even then, it only loads in preview mode.

The demo you showed me does not solve my problem.

I noticed that a new update for the Advanced Custom Fields Multilingual plugin (Version 2.1.4.1) was released today, so I created a staging environment of my production project to run some tests. As soon as I have more information, I will share it with you.

August 22, 2024 at 1:51 am #16092443

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello again,

Thank you for taking the time to test this,

I'm afraid that we have to replicate this on a sandbox as this plugin isn't compatible with WPML and we have to use the proper environment with clear replication steps so our team could potentially contact "Advanced Themer for Bricks" team,

This plugin is using ACF code as part of its build, and works for Bricks theme, which add multiple layers of compatibility to verify,

I will be waiting for your reply, let me know if you find anything clear that I should share with our dev team,

Best,

The topic ‘[Closed] ACF CPTs in Bricks Builder (Archive and Single Posts) are not rendered on the front end’ is closed to new replies.