Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Hyyan WooCommerce Polylang Integration

Descripción

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

Este plugin hace posible la creación de webs de comercio electrónico multilingües usando WooCommerce y Polylang. Hace que los productos y las páginas de la tienda sean traducibles, permite a los visitantes cambiar de idioma y comprar productos en su idioma, y todo eso desde la misma interfaz que ya conoces.

Por favor, no pidáis más ayuda en el foro de WordPress, me está resultando difícil seguir los problemas en diferentes lugares. Por favor, si necesitáis ayuda, abrid un nuevo hilo de Github.

Consulta la documentación completa

Características

  • [√] Descarga archivos de traducción de WooCommerce automáticamente
  • [√] Traducción de páginas
  • [√] Traducción de variables
  • [√] Traducción de productos
    • [√] Categorías
    • [√] Etiquetas
    • [√] Atributos
    • [√] Clases de envío
    • [√] Sincronización de metadatos
    • [√] Variaciones de producto
    • [√] Galería de producto
  • [√] Traducción de pedidos
  • [√] Sincronización de inventario
  • [√] Sincronización de carrito
  • [√] Sincronización de cupones
  • [√] Correos electrónicos
  • [√] Informes
    • [√] Filtrar por idioma
    • [√] Combina informes en todos los idiomas

Lo que necesitas saber sobre este plugin

  1. The plugin needs PHP7.0 or above ie same software versions as WooCommerce
  2. Este plugin se desarrolla al mismo tiempo que Polylang
    y la última versión de WooCommerce
  3. El plugin es compatible con los productos variables, pero si los usas no podrás
    cambiar el idioma predeterminado
    , debido a la forma en que el plugin implementa este
    soporte. Por lo tanto, tienes que asegurarte de elegir el idioma predeterminado antes de empezar
    a añadir nuevos productos variables.
  4. El método de modificación de URLs de Polylang El idioma se establece a partir del contenido no funciona
    todavía

Configura tu entorno

  1. Tienes que traducir las páginas de WooCommerce tú mismo
  2. El plugin se encargará del resto

Traducciones

Contribuir

Todo el mundo es bienvenido para ayudar a contribuir y mejorar este plugin. Hay varias
maneras en que puedes contribuir:

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

1.4.4

1.4.3

1.4.2

1.4.1

1.4.0 preview

Thanks to :
@jon007
@mweimerskirch **
**@Annih

@mrleemon

1.3.0

1.2.0

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

1.1.0

Thanks for :
@jon007
@nunhes
@masato-igarashi
@marian-kadanka
@ahmedofali

For all the amazing work which made releasing this new version possible

1.0.4

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 #10 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:

  1. 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.

  2. 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

0.27

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

Capturas

  • Añade y traduce productos desde la misma interfaz que ya conoces
  • Los metadatos de los productos se sincronizan, no es necesario que hagas nada tú mismo
  • Los pedidos usan el idioma elegido por el cliente
  • El idioma de los pedidos se puede cambiar
  • Consulta informes en un idioma específico y combina informes en todos los idiomas
  • Controla las características del plugin desde su página de administración

Instalación

Instalación estándar

En el panel de administración de tu web, ve a Plugins, Añadir nuevo y busca Hyyan WooCommerce Polylang Integration e instálalo.

La manera clásica

  1. Descarga el plugin como archivo zip y a continuación súbelo a tu carpeta de plugins de WordPress y descomprímelo allí.

La manera composer

  1. ejecuta el comando de composer: composer require hyyan/woo-poly-integration

In all cases please do ensure you have Polylang and WooCommerce activated and setup
before you Activate this plugin from your admin panel

Please note the getting started notes:
https://github.com/hyyan/woo-poly-integration/wiki/Getting-Started

FAQ

¿Este plugin funciona con otros plugins de comercio electrónico?

No. Este plugin es para Polylang y WooCommerce

¿Este plugin funciona con el plugin WPML?

No. Este plugin es para Polylang y WooCommerce

Qué tengo que hacer en mi tema

Bien, nada

Las páginas de categorías o etiquetas de producto están vacías

Solo asegúrate de configurar tus enlaces permanentes y todo irá bien, lo prometo

Reseñas

20 de septiembre de 2023
I used it few years, now on php 8+ there are some issues, that I asked of people how to fix them. On /wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Utilities.php on line 645 change to } else { //20190630: old code used in previous versions of this plugin if ($polylang->curlang) { $polylang->curlang->locale = $languageLocale; } } 2. To make it work with variable products again in woo-poly-integration/src/Hyyan/WPI/LocaleNumbers.php string 97 $retval = $a->format((float) $input, \NumberFormatter::TYPE_DOUBLE); I don’t remember what was the third. Someone, please, don’t let this great plugin die, or resurrect it from the dead!
7 de marzo de 2023
I was struggling with Polylang Pro, and polylang for woocommerce. I paid much money for them, and I couldn’t even add «product attributes» to the «string translations» list ! You litterally saved my life with your superb plugin. I would really want to contribute money so you maintain this plugin !!
11 de junio de 2022
Hi how i can delete this plugin from my website. Reason why i do this my shop page stoped work. My shop page start working when I deactivate polylang and delete this plugin. But some settings from this plugin still work form some reason
24 de noviembre de 2021
Luckly I got 12 products, and I’m a developer so I figured out the issue and I’m fixing product by product, but it basically messed up all product variations prices, without a chance to fix it if not deleting the variations and recreating them, all at once tho or it doesn’t work. Also sometimes have to be done twice cause it created a double of each variation. This behaviour must be to really poor quality code, and despite the fact I’m fixing it, it created a bloat of ids in the database, and hopefully will continue to work and not reset/mess again with variations by itself without notice.
Leer todas las 120 reseñas

Colaboradores y desarrolladores

«Hyyan WooCommerce Polylang Integration» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Hyyan WooCommerce Polylang Integration» está traducido en 2 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «Hyyan WooCommerce Polylang Integration» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.