Templates that are supposed to run on an action hook, are executed despite the current site language.
This is especially unfortunate since it seems there is no clear loading order leading to the translated and the original template randomly showing up.
In the code, i found bricks/get_templates/query_vars filter which could be used to add the āsuppress_filtersā argument, which in theory should fix this issue. Can you maybe elaborate if this is a route you could tike in core?
Hey,
what you did is nearly correct, only that the symptom is not that both show up, but a random one with the condition. In our experience, it was always the last edited one. Will provide a screencast later.