-
Notifications
You must be signed in to change notification settings - Fork 219
Editor side translations are loaded on the frontend side #6530
Comments
Mmm, yes, more or less :D Maybe we should merge the issues and be sure that we check the problem for all blocks. |
Can you check if that happens on |
I installed the plugin from wp.org and I'm still able to reproduce the problem |
With the Checkout block? I tested again with this test site and I can't reproduce it: https://ephemeral-aljullu-20220607.atomicsites.blog/checkout/ (← you will need to add a product to the cart for the Checkout page to appear) I checked the source code of the page and can't find the Versions:
|
Ouch, sorry, I forgot to change the language. 🤦♂️
Right, I'm able to see. I wonder if we should have two different issues, one for the All Products block (which I think is #4543) and one for the Checkout block (maybe this one?). I think they are two different issues and this way we can assign each one to the correct team. Thoughts? 🤔 |
I'm not sure because my knowledge of translations is pretty limited. I'm wondering:
|
I have you some ideas on how to improve it, go for it! Maybe as a cooldown task?
I'm not sure, I guess we could check all blocks, but those issues seem to be specific to Checkout and All Products, no? |
To be honest, for now, I don't have any ideas :(
True, but in the case of the This is the reason why I think that we should debug this code on the |
Upon some investigation, I realized that this bug had been resolved in this PR: #9251. The solution was to remove the dependency on @gigitux, @Aljullu, could you please double-check? If it works for you, feel free to close this issue! 🙌 |
@tarhi-saad You're right! I'm not able to reproduce anymore! We can close this issue and #4543! I will proceed with it! @Aljullu feel free to open both issues if you find some issues! |
Describe the bug
On the frontend side, the code loads the block translations that belong to the editor side.
To reproduce
Steps to reproduce the behavior:
Expected behavior
The editor side translations should be loaded only on the editor side.
Screenshots
The text was updated successfully, but these errors were encountered: