WP PolyLang仅部分翻译WooCommerce [英] WP PolyLang only translates WooCommerce partially

查看:159
本文介绍了WP PolyLang仅部分翻译WooCommerce的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为WooCommerce创建了一个帐户页面([woocommerce_my_account]),并且安装了PolyLang.当我从英语切换到另一种语言时,它只会翻译一些字符串-注销,配置文件设置和订单.另一个仍然是英语-仪表板,下载,地址等,即使它们在同一列表中也是如此.我检查了woocommerce po文件是否缺少翻译,但它们似乎都完整无缺. 任何帮助将不胜感激.

解决方案

您不能使用基于.po/.mo文件的内容来翻译帖子或页面的内容,因为它仅用于主题或插件本地化,但不适用于多语言内容.

即使不使用Loco Translate插件,WP PolyLang 也只能部分翻译WooCommerce .

对于Wordpress中的内容翻译,您可以在这两个之间进行选择:

  • Qtranslate 免费插件
  • WPML 商业插件
  • 可能实际上还有一些其他新插件……

每个人都有优点和缺点...


请参阅:比较有关WooCommerce的翻译插件功能

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.

解决方案

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

这篇关于WP PolyLang仅部分翻译WooCommerce的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆