How to translate woocommerce blocks?
-
Hi. I’m using woocommerce blocks in my checkout page, and although there is a portuguese (brazilian) translation, it’s a really really bad one, so I want to change it. I tried translating it with loco translate, but it doesn’t work. I then did some googling, and found this thread, which states that:
“When the translation percentage for a locale reaches 95% it then becomes available as a language pack for download by any WordPress site configured with that locale as it’s language”
From what I understand, this means that the translation should be implemented automatically, which is why my checkout page is already (poorly) translated, right? But there are some translations that are not even in the translation project page, such as the “This is a required field” message, which is translated as “Preencha este campo”, which means “Fill this field”.
My plan at the moment is to use javascript to detect when this badly translated message appears, and replace it, but I’m sure there must be a less hacky way to do it.
- The topic ‘How to translate woocommerce blocks?’ is closed to new replies.