Hi Bricks team,
I noticed an issue when translating Bricks templates with WPML.
Steps to reproduce:
-
Create a page (My Account) and translate it into a second language.
-
Create a Bricks template (e.g. a Breadcrumbs Section).
-
Add the condition: Exclude → Page → My Account (EN).
-
Translate the template with WPML.
-
Open the translated template.
Expected:
The condition should automatically reference the translated page instead of the original page.
Actual:
The translated template still references the original English page. The condition itself is copied, but the page reference is not translated. As a workaround, I have to manually edit every translated template and reselect the translated page in the condition. _bricks_template_settings is already set to Copy in WPML.
Interestingly, this only seems to happen with my Section template (Breadcrumbs). My Archive and Single templates correctly reference the translated pages after translation.
Could this be related to the Section template type or the Exclude condition?
Is this a bug or an intended limitation?
Thanks!
