[WordPress] 外掛分享: Hyyan WooCommerce Polylang Integration

WordPress 外掛 Hyyan WooCommerce Polylang Integration 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Hyyan WooCommerce Polylang Integration」是 2015-04-19 上架。
  • 目前有 10000 個安裝啟用數。
  • 上一次更新是 2021-02-16,距離現在已有 1537 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.4 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 有 122 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

hyyan | jonathanmoorebcsorg |

外掛標籤

cms | polylang | bilingual | woocommerce | multilingual |

內容簡介

由於最近我沒有在使用 WordPress,也沒有使用 WooPoly 了一段時間,因此我正在尋找維護者接手這個項目。
如果您有興趣,請回覆這個問題或透過電子郵件與我聯繫:hyyanaf [at] gmail [dot] com

這個外掛讓您可以運行多語言電子商務網站,使用 WooCommerce 和 Polylang。它可以翻譯產品和商店頁面,讓訪客在他們的語言中切換並訂購產品。而且,所有這些都可以在您喜愛的同一個介面中處理。

請不要再在 WordPress 論壇上請求支援, 因為我無法在不同的地方追蹤問題。請許開啟新的 Github 問題,如果你需要幫助。

閱讀完整文檔

功能

[√] 自動下載 Woocommerce 翻譯文件
[√] 頁面翻譯
[√] 終端翻譯
[√] 產品翻譯

[√] 分類
[√] 標籤
[√] 屬性
[√] 運輸類別
[√] 元同步
[√] 變化產品
[√] 產品圖庫

[√] 訂單翻譯
[√] 庫存同步
[√] 購物車同步
[√] 優惠券同步
[√] 電子郵件
[√] 報告

[√] 按語言篩選
[√] 結合所有語言的報告

您需要知道有關此外掛的事項

該外掛需要 PHP7.0 或以上,也就是和 WooCommerce 相同的軟件版本
此外掛和最新版本的 Polylang
和 WooCommerce 同步開發
此外掛支援可變產品(Variation Product),但是使用它們將會禁止您更改默認語言,因為外掛實現了對變量產品的支援方式。因此,您必須在添加新的可變產品之前選擇默認語言。
Polylang URL 修正方法 The language is set from content不受支援

設置您的環境

您需要自己翻譯 WooCommerce 頁面
剩下的工作都由外掛處理

翻譯

阿拉伯語由 Hyyan Abo Fakher 翻譯
西班牙語由 nunhes 翻譯

貢獻

歡迎所有人協助貢獻和改進這個外掛。您可以通過以下幾種方式進行貢獻:

報告問題(請閱讀問題指南)
建議新功能
編寫或重構代碼
改進文檔
修復問題

1.5.0

修正,以解決#527問題

原文外掛簡介

Given that I am not using WordPress these days and I haven’t really been using WooPoly for a while. I am looking for maintainers to take over this project.
If you’re interested, please reply to this issue or get in touch with me via email: hyyanaf [at] gmail [dot] com
This plugin makes it possible to run multilingual e-commerce sites using
WooCommerce and Polylang.It makes products and store pages translatable, lets
visitors switch languages and order products in their language. and all that from
the same interface you love.

Please do not ask for support on wordpress forum anymore , it is becoming hard for me to follow issues in different places. please if you want help just open a new Github issue.

Read the full docs
Features

[√] Auto Download Woocommerce Translation Files
[√] Page Translation
[√] Endpoints Translation
[√] Product Translation

[√] Categories
[√] Tags
[√] Attributes
[√] Shipping Classes
[√] Meta Synchronization
[√] Variation Product
[√] Product Gallery

[√] Order Translation
[√] Stock Synchronization
[√] Cart Synchronization
[√] Coupon Synchronization
[√] Emails
[√] Reports

[√] Filter by language
[√] Combine reports for all languages

What you need to know about this plugin

The plugin needs PHP7.0 or above ie same software versions as WooCommerce
This plugin is developed in sync with Polylang
and WooCommerce latest version
The plugin support variable products , but using them will disallow you to
change the default language , because of the way the plugin implements this
support. So you have to make sure to choose the default language before you start
adding new variable products.
Polylang URL modifications method The language is set from content is not
supported

Setup your environment

You need to translate woocommerce pages by yourself
The plugin will handle the rest for you

Translations

Arabic by Hyyan Abo Fakher
Spanish by nunhes

Contributing
Everyone is welcome to help contribute and improve this plugin. There are several
ways you can contribute:

Reporting issues (please read issue guidelines)
Suggesting new features
Writing or refactoring code
Improving documentation
Fixing issues

1.5.0

correction to fix #527
fixes #536 avoid over-setting product type on edit
re- fixes #534 new variation not visible until save
re- fixes #527 variation form default values
fixes #535 variation stock issues

1.4.5

re-fixes #430, #524 variation duplications
fixes #526 product type selector issues – variable product appears as simple
fixes #522, #529 and other JQuery deprecation issues props @mrleemon
fixes #475 variation stock issues
fixes #527 default form value for variation lost when creating new translation
fixes #534 new variable translation, variations not visible until save

1.4.4

implements #476 adding Additional Content to translated email fields
Addresses multiple email issues causing some fields and default values not to be picked up or translated correctly.
fixes #502 Cart issues by removing addToCartHandlerVariable()
fixes #503 Deprecated: get_woocommerce_term_meta
fixes #466 undefined index in Cart.php on line 188 props nicmare sep 2019
addresses #449 by adding info to woo status report props jon007 sep 2019
fixes #446 by allow strings translation for customiser checkout text props jon007 jul 2019
implements #441 allow taxonomy slugs to be the same in different languages props jon007 jul 2019
fixes #442 incorrect defaults used where no saved settings exist props jon007 jul 2019

1.4.3

fixes #434 page checks duplicating pages and other language switching issues
fixes #435 fix get_current_screen errors when this plugin called in unanticipated circumstances props danieleftodi YITH Gift Cards
fixes #436 Illegal string offset and Invalid argument in FlashMessages

1.4.2

fixes #432 default variation attributes were not synchronised correctly when using more than one attribute
fixes #431 multiple email translation issues in different circumstances
fixes #430 bugfix and enhancement to allow variations to be disabled
stock synchronisation – avoid errors being logged where product is not translated

1.4.1

fixes #427 by reversal of #390, #346 Cart: retain price when switching languages due to incompatibility with currency switchers, instead a filter woo-poly.Cart.switchedItem allows customisation of behaviour where necessary

1.4.0 preview
Thanks to :
@jon007
@mweimerskirch **
**@Annih
@mrleemon

fixes #408 WooCommerce 3.6.x: by ensuring product lookup data is recalculated for translations and stale product data cache is cleared
fixes #408 WooCommerce 3.6.x: cart fragment script updates for 3.6
fixes #411, #299, #391, #361 stock synchronisation issues
added WooCommerce pages checker: missing WooCommerce pages and translations are added, warning added for pages in incorrect status, addresses common support and setup usability issues such as #379
fixes #390, #346 Cart: retain price when switching languages props mweimerskirch
fixes #364 initial setup: apply initial settings automatically
fixes #234 product admin: click on featured star in products list is now synchronised to translations
fixes #400 shop page url translation: fixes where shop slug is contained in url
fixes #416 emails: some missing custom string translations added
fixes #414 emails: v1.3.0 bug for translating email strings which are customized in admin
fixes #409 shortcodes: allow product shortcode to translate in same way as products shortcode
fixes #419 variations: allow default variation based on custom product specific attribute

1.3.0

fixes #352 by allowing translation of ‘invisible’ variations
fixes #353 by checking language of duplicate skis
improves #353 fix
fixes #348 by assigning language to variations
fixes #343 by reducing frequency of coupon load
fixes #354 by including updates from woocommerce
fixes #356
Fall back to $polylang->pref_lang for AJAX endpoint URL when $polylang->curlang is not available.
fixed empty attribute for variations
Add files via upload
fixed #370
fixes #384
Extend the email hooks
fixes #401 email subject and title translations
fixes #399

1.2.0
Thanks for : @jon007 For his amazing work which made releasing this new version possible

Implements #337 by enabling privacy strings translation
Implements #339 by translating store notice

1.1.0
Thanks for :
@jon007
@nunhes
@masato-igarashi
@marian-kadanka
@ahmedofali
For all the amazing work which made releasing this new version possible

add wc version to comment headers
fixes #283 by handling shortcode with no ids set
Add Spanish Translate
fix issue #320
Fix #325 Coupon optimization
fix issue #320 (re-commit)
Merge pull request #322 from nunhes/master
Update readme
Merge pull request #326 from masato-igarashi/master
Fix #317
Fix Ajax endpoint URL again, fixes #319
Identify woocommerce and polylang if installed as mu-plugins
Change the way of checking polylang and woocommerce versions
Remove Unneeded code since we use class name to check if plugin is activated or not
Merge pull request #329 from marian-kadanka/fix-319-ajax-endpoint-url-again
Merge pull request #335 from ahmedofali/master

1.0.4

Fix #257 , Fix #247
Fix #248 , Fix #266 upgrader_process_complete is not ideal
Merge pull request #253 from marian-kadanka/fix-is-front-page-conditional-tag
Update tested wp version
Fix #260 – add the “Requires PHP” tag in the readme.txt
fixes #268 setup coupon translations only when needed
Merge pull request #263 from szepeviktor/patch-1
Fix is_front_page() not working on WC shop page set as site’s static front page
Fix Ajax endpoint URL
Fix #247 – Woocommerce [products] shortcode and Polylang

1.0.3

Fix PHP Fatal error: Class ‘NumberFormatter’ not found

1.0.2

Fixes #200 Polylang version check fails to detect Polylang PRO
Cart.js Updated in line with WooCommerce 3.1 cart-fragments.js
Fixes #215 add string translations for Coupons (includes WooCommerce Extended Coupon Features if installed)
addresses #168 with a utility function get_translated_variation to help get translated products or variations
Fixes #217 BACS bank_details() update for woocommerce3
Fixes #213 copy children for Grouped Product
partially implements #208 WooCommerce 3.1 CSV Import/Export by adding support for synchronising Product Meta and Product Attributes to translated products
Fixes #207 suppresses login customization to allow “Pay for Order” links to work when customer is not logged in
(after login continue to payment page instead of my account home)
Fixes #212 update deleteRelatedVariation for woocommerce3 warnings
Fixes #209 cart filling up error logs with variations message
Fixes #195 Locale number formatting for prices and built-in attributes
Fixes #190 Products Quick Edit now synchronizes translations
Fixes #187 WordPress 4.8 breaks translation for new Variation Products
Fixes #184 Stock update incorrect if customer switches language while checking out
Fixes #186 Shipping Method translation regression from 1.0.1
Fixes #188 When translating Variations, code tries to create copies of untranslated terms
Fixes #182 email translation extension hooks thanks to @vendidero/WooCommerce Germanized
Fixes #181 additional filters in Meta synchronization thanks to @vendidero/WooCommerce Germanized

1.0.1

Fixes #170 when WooCommerce 3.0.8+ active, product variation titles corrected in cart and orders
Added Documentation links to new wiki Documentation pages
Added minified javascript (enable SCRIPT_DEBUG to use unminified versions)
Fixes #174 Error in autofill of missing translations of parent category
Fixes #175 WooCommerce doesn’t pass loop name for some shortcodes
Fixes Initial setup issues if Polylang is not yet configured

1.0.0
Thanks for @jon007 and @decarvalhoaa for the amazing work in order to release this new version
This release fixes a number of issues around handling of attributes and translations.
In particular:

New translations can now use auto-copy of source language, to help save time translating.
In future a machine translation will be added.
Copy option covers Product Title, Short Description and Long Description.
Also when creating a new product, any missing Product Categories, Tags and Attributes are copied,
to avoid unexpected problems which occur if a translation is saved with missing term translations.

it is now possible to set up the system to allow different types of product attributes
to be synchronised, translated, or independent in each language. The default options will be:

Translation and Synchronization Enabled for Product Attributes
Synchronization off for Custom Product Attributes

In this case choose how to set up your product attributes as follows:
– Translated Attribute? Add in Products\Attributes and turn on Translation in Polylang at:
Languages\Settings\Custom Taxonomies
– Synchronised Attribute? [eg same value in all languages, eg product code, numeric properties]
Add in Products\Attributes and leave Translation turned off in Polyang.
– Different value in each language? add directly to Product as a Custom Product Attribute

Enh: synchronisation for Custom Product Attributes and Global Product Attributes can now be
turned on and off independently in
Settings\WooPoly, Metas List, Attributes Metas, Custom Product Attributes.
The fields locker is unlocked for the attribute types which are not synchronized.
Fix: Global Product Attributes can now be individually configured in Polylang:
When Settings\WooPoly Translation attributes is checked then attributes appear in Polylang:
Languages\Settings\Custom Taxonomies lists the individual taxonomies
Previously all attributes translation were forced on: now they can be selectively turned
on and off. This means that there is no longer any need to create dummy translations for
untranslateable values such as reference codes and numeric fields. Fixes #127.
CHANGE: new Product Attributes are no longer automatically enabled for translation,
After creating new Attribute, enable Translation in Polylang if needed by checking:
Languages\Settings\Custom Taxonomies

Enh: Missing Term Translations are now added by default. Fixes #72
Applies to Products\Categories, Products\Tags, Products\Attributes
Previously missing term translations caused

Fixes #123 Fields Locker performance optimisation

Fixes #155, fixes #81, fixes #99 Gateways fix gateway load issues by moving initialization to wp_loaded
Fixes #149 Enable duplication of variable products
Fixes #165 upsets/crosssells handling in wooCommerce3
Fixes #159 Attribute Terms synchronization issues
Fixes: #148 WooCommerce3 product_visibility is now a taxonomy not a meta item
Fixes: #153 Fields locker doesn’t correctly lock Product Attributes of type Select
Fixes: #147 When adding new variations, tool should also add the new variation to other languages
Fix #137 #131 #130 #110 #117, #97, #94, #84, #83, #82 adaptations for wooCommerce 3.0
Fix #136 Variable product stock sync issue where stock managed at parent level
Enh #132 Add settings Page link to plugins page
Fix #128 Allow variation description to be editable in translations
Fix #129 #138 Account page only shows orders in current language
Fix #112 Shipping Class are not sync for Product Variations
Fix #140, #142, #143, #89, #70 Email Translation issues
Fix #145 correct link from Polylang to Attributes Strings translations
Fix #95 WooCommmerce product shortcodes not filtering by language
Fix #104 Tax by allowing translation of Price Display Suffix

0.29.1

Improve Multisite compatibility
Fix variation description couldnt be translated
Fix PHP Notices when translating variable products with variations
Fix wc translation download

0.29

Fix PHP notice in Reports when products dont have translations
Fixed PHP notice due to Polylang deprecated functions
Fixed WordPress database error in reports page
Fixed missing argument warning in order detailspage and emails
Fixed strpos() empty needle warning for empty endpoints
Fixed removing email instructions from 3rd party payment gateways
Fixed not detecting whether polylang pro is active
Fixed unable to unselect a complete settings section Issue #51
Fixed Fields Locker is not working in variation tab Issue #76
Tested and confirmed working on WordPress 4.6.1, Polylang 2.0.7 and WooCommerce 2.6.7

0.28

Fixed order emails translation
Fixed shipment methods translation and added support for WooCommerce 2.6.
Fixed payment gateways translation
Added WC2.6 cart page ajax support
Fixed backend html orders screen
Fixed product type dropdown selection
Fixed translation of products variations created before plugin activation
Fixed variable products default attributes sync
Fixed variable products (non-taxonomies) attributes sync
Fixed product shipping class for websites running WooCommerce 2.6 or higher
Fixed cart translation
Fixed coupons with multiple products
Fixed coupon with multiple products
Tested and confirmed working on WordPress 4.6.1 and Polylang 2.0.4

0.27

Updated TranslationsDownloader to fetch languages files from woocommerce translation project
Fixed Issue #12 : Wrong Return URL after Payment
Fixed Issue #46 : PLugin is not activated when wordpress multisite is enabled
Fixed Issue #26 : variation product and stock sync with language
Fixed Issue #35 : Error Message: The plugin can not function correctly
Fixed Issue #16 : Catchable fatal error: Order List on Dashboard getProductTranslationByObject() is being given a Boolean instead of an WC_Product Object
Fixed Issue #42 : pll_get_post not defined error
Fixed Issue #43 : Call to undefined function Hyyan\WPI\pll_default_language()
Fixed Issue #44 : PLL()->model->get_translations is deprecated
Fixed Issue #45 : Fatal error: Call to undefined function Hyyan\WPI\pll_get_post_language()

0.25

Add the ability to handle the locale code of Paypal checkout
Fixed locale for emails that are triggered by a Paypal IPN message
Fixed fields locker is not working in Firefox browser

0.24

Added support for Layered Nav Widget
Added support for endpoints translation
Fixed products are duplicated when shop page is set as front page
Fixed Unable to open order details after 0.20 upgrade
Fixed translations links are not hidden in the order page
Fixed email is not translated when complete button is used in orders table
General code improvements

0.23

Added support for Woocommerce search widget @see Duplicated search result
Fixed translation downloader tries to download woo translations for en_US locale
Fixed wrong product duplicate behavior

0.22

Added Translation Downloader to auto download woocommerce translation files when a new polylang language is add
Added Arabic translation
Fixed translation links are hidden in posts page
General code improvements

0.21

Added admin interface to allow user to control plugin features
Added link for every attribute to search for its translation in the polylang strings table
Added generic fields locker
Added POT file for translation
Fixed product_type is not synced in 0.20 version
General code improvements

0.20

Added the ability to sync total_sales when stock value is changed
Added the ability to combine product report with its translation
Added the ability to combine category report with its translation
Fixed database error in sales_be_category reports
Fixed Orders Interface to use the current user language instead of the order language

0.19

Added the ability to set the write permalinks that can work with polylang if the default woocomerce permalinks are used

0.18

Added basic support for reports (filter by language)
General fixes

0.17.2

Fixed issue#2 (https://github.com/hyyan/woo-poly-integration/issues/2)

0.17.1

Removed wrong php used statement

0.17

Fixed (Polylang language switcher is disabled even if there is no variable products)
Added the ability to sync product category custom fields

0.16

Added support for product gallery translation

0.15

Extended meta list to include _visibility

0.14

Released in the wordpress repository

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Hyyan WooCommerce Polylang Integration」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.16 | 0.18 | 0.19 | 0.20 | 0.21 | 0.22 | 0.23 | 0.24 | 0.25 | 0.27 | 0.28 | 0.29 | 1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.1.0 | 1.2.0 | 1.3.0 | 1.4.1 | 1.4.2 | 1.4.3 | 1.4.5 | 1.5.0 | trunk | 0.17.1 | 0.17.2 | 0.29.1 |

延伸相關外掛(你可能也想知道)

  • Translate Multilingual sites – TranslatePress 》透過可視化的翻譯介面,直接從前端翻譯您的WordPress網站並製作多語言網站,體驗更好的翻譯方式。, TranslatePress是一個任何人都可以使用的WordPress翻譯外...。
  • Ray Enterprise Translation 》Ray Enterprise Translation 提供方便的基於雲端的本地化和WordPress翻譯,通過簡化創建和維護多語言網站的過程。其功能包括機器翻譯、專業翻譯和社區翻譯解...。
  • WPBakery Visual Composer & qTranslate-X 》這個外掛可以讓 qTranslate-X 多語言工具運作於 WPBakery Visual Composer 外掛程式中。, 需要 qTranslate-X 版本 3.3 或者 alpha 預發行版 以上版本。, 這個...。
  • WPML to Polylang 》特色, , 匯入語言和 WPML 選項(當相同選項存在於 Polylang 中時)。, 匯入文章和詞語的語言以及翻譯(包括自訂文章類型和自訂分類法)。, 匯入多語言導覽選...。
  • Falang multilanguage for WordPress 》Falang 是 WordPress 的多語言外掛,它允許您將現有的 WordPress 網站翻譯成其他語言。Falang 原生支援 WooCommerce(產品、變體、類別、標籤、屬性等)。, ...。
  • WPGlobus Featured Images 》WPGlobus Featured Images 是 WPGlobus 外掛的擴充功能,可以讓您為每種語言設定單獨的特色圖像。, , 注意:在安裝 WPGlobus Featured Images 擴充功能之前,...。
  • WPCasa Polylang 》WPCasa Polylang 外掛程式是為 Polylang 外掛程式設計的橋樑,以確保所有房源詳情、出租期間和其他 WPCasa 文字字串都能正確翻譯。, , 請注意,此外掛程式是 ...。
  • Translate by Supsystic 》手動翻譯 WordPress 網站內容,讓網站可以支援全球觀眾。創建多語言頁面、文章、小工具、選單等功能。使用者可以透過語言小工具選擇語言,或者配置 Translate...。
  • User Language Switch 》, 結束公告, 我們協助多語言網站翻譯已經有一段時間,也非常感謝大家對於這個外掛的信任與使用。很遺憾地,因為我們無法維護並提供支援,我們再也無法提供支...。
  • Bilingual Linker 》此外掛的目的是讓使用者能在管理介面中新增一個頁面或文章的翻譯版本連結,並在網誌、單一文章或頁面上顯示此連結。, 您可以在暫時的 WordPress 副本這裡試用...。
  • Multilingual Text 》這個外掛可以透過標記文字以不同語言呈現,旁邊會有旗幟圖示,允許使用者在不同語言中進行切換。, 博客的其他元素並不會被翻譯。, 使用[:gb]來指定以下文字部...。
  • nLingual 》nLingual 系統允許 WordPress 靈活的多語言支援和翻譯管理。該系統以每篇文章為基礎處理翻譯,並可以設置為同步,以便在一個文章上的某些細節發生更改時將其...。
  • Events Made Easy & qTranslate-X 》啟用qTranslate-X多語言框架,以支援外掛Events Made Easy。, 至少需要版本 3.2.2 的qTranslate-X外掛。。
  • Switch Polylang To Ukrainian language 》此外掛將顯示彈出式視窗,提供語言選擇功能,以便於根據「網站翻譯成烏克蘭語法律」,開啟網頁時使用烏克蘭語。。
  • WPML2WPMSLS 》請參閱https://wordpress.org/extend/plugins/wpml2wpmsls/, WPML將每個條目存儲為單獨的帖子,並使用一些自定義表來連接翻譯。, 如果您停用插件或遇到與版本...。

文章
Filter
Apply Filters
Mastodon