Translate with .po file in Child Theme

Hello there. I have a problem with my translated .po file. I’ve translated those strings I needed. But some strings show correctly and some strings don’t show at all. The comment area below posts show correctly but comment area in woocommerce don’t show at all. they still English. I didn’t change anything. I faced this problem with new update for my theme (6.3.6). before updating Comment area in wooCommerce shown correctly. I’m confused now. please help me if someone know the answer.

Hello @Soran_Qaderi,

Thanks for writing in! You are experiencing this issue because we have updated WooCommerce templates to use “woocommerce” text domain. The text domain in our WooCommerce integration templates has been changed from __x__ to woocommerce at the recommendation of the WooCommerce team. This means if you translated the strings in X they may no longer appear translated. This is unlikely to happen as you’ve most already enabled a translation on the WC text domain.

To resolve this, you may also translate woocommerce plugin. You can check out this documentation to know more about how you can translate WooCommerce: https://docs.woocommerce.com/document/woocommerce-localization/

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.