I have created an account page for WooCommerce ([woocommerce_my_account]) and I have PolyLang installed. When I switch from english to another language, it only translates some of the strings - Sign out, Profile settings and Orders. The other remain in english - Dashboard, Downloads, Addresses, etc., even though they are in the same list. I've checked the woocommerce po files for missing translations, but they all seem to be intact. Any help would be appreciated.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can't translate content of posts or pages with something based on .po
/ .mo
files, because it is only for theme or plugin localisation, but not for multi language content.
WP PolyLang will only translates WooCommerce partially, even using Loco Translate plugin.
For content translation in Wordpress, you can chose between those two:
- Qtranslate free plugin
- WPML commercial plugin
- May be there is actually some new other plugins…
Each one has its strengths and weaknesses…
See: Comparing translation plugins features regarding WooCommerce