=== FG PrestaShop to WooCommerce Premium Internationalization module ===
Contributors: Frédéric GILLES
Plugin Uri: https://www.fredericgilles.net/fg-prestashop-to-woocommerce/
Tags: prestashop, woocommerce, wordpress, importer, migrator, converter, import, wpml, polylang
Requires at least: 4.5
Tested up to: 6.5
Stable tag: 2.1.0
Requires PHP: 5.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A plugin to migrate the PrestaShop translations to WordPress
It is compatible with either WPML or Polylang
Needs «FG PrestaShop to WooCommerce Premium»
Needs either the plugins WPML or Polylang

== Description ==

This is the WPML module. It works only if the plugin FG PrestaShop to WooCommerce Premium and the WPML plugin are already installed.
It has been tested with **PrestaShop version 1.1 to 8.1** and the latest version of WordPress. It is compatible with multisite installations.

Major features include:

* migrates the products translations
* migrates the product categories translations
* migrates the product features translations
* migrates the attributes translations
* migrates the CMS categories translations
* migrates the CMS articles translations
* migrates the brands translations

== Installation ==

1.  Prerequesite: Buy and install the plugin «FG PrestaShop to WooCommerce Premium»
2.  Extract plugin zip file and load up to your wp-content/plugin directory
3.  Activate Plugin in the Admin => Plugins Menu
4.  Run the importer in Tools > Import > PrestaShop

== Translations ==
* English (default)
* French (fr_FR)
* Russian (ru_RU)
* other can be translated

== Changelog ==

= 2.1.0 =
New: Compatible with YITH WooCommerce Brands Add-On

= 2.0.0 =
New: Support of Polylang
Tested with WordPress 6.5

= 1.16.1 =
Fixed: Deprecated: Creation of dynamic property fgp2wc_wpml::$default_language_id is deprecated
Tested with WordPress 6.4

= 1.16.0 =
New: Redirect the products in their translated languages
Fixed: Missing product translations when there are multiple shops
Compatibility with PHP 8.2
Tested with WordPress 6.3

= 1.15.0 =
New: Add WP-CLI and CRON support
Tested with WordPress 5.6

= 1.14.1 =
Fixed: Wrong language for product categories which have multiple translations in the same language
Fixed: Translations not imported when all shops are selected

= 1.14.0 =
New: Compatible with Perfect Brands for WooCommerce
Tested with WordPress 5.5

= 1.13.0 =
New: Add Russian translation
Fixed: Notice: wpdb::prepare was called incorrectly. Unsupported value type (object).

= 1.12.1 =
Fixed: Tax classes not imported in product translations
Tested with WordPress 5.4

= 1.12.0 =
New: Import the product categories SEO meta data
Tested with WordPress 5.3

= 1.11.0 =
New: Compatible with PrestaShop multishops
Fixed: Notice: Undefined offset: 0
Fixed: Warning: Illegal string offset 'name'
Fixed: [ERROR] Error:SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a.position' in 'field list'

= 1.10.1 =
Fixed: Product features values with long names (>200) were not imported

= 1.10.0 =
Fixed: Product features not translated
Tested with WordPress 5.2

= 1.9.0 =
Tweak: Doesn't rely anymore on the current language. Rely only on the default language.
Fixed: Variations empty in the translated products

= 1.8.1 =
Fixed: Fatal error: Access to undeclared static property: fgp2wc_wpml::$feature_values

= 1.8.0 =
New: Import the product features translations
Tested with WordPress 4.9
Tested with WPML 4.0

= 1.7.2 =
Fixed: Notice: Undefined index: visibility

= 1.7.1 =
Fixed: The field "This is a translation of" was not set correctly
Tested with WPML 3.8

= 1.7.0 =
New: Ability to update the existing translations
Fixed: [ERROR] Error:SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ps_lang_shop' doesn't exist (PS 1.4 and less)

= 1.6.3 =
Fixed: Some categories imported in wrong language
Fixed: Notice: Undefined index: id_parent
Fixed: Notice: Undefined index: id_category

= 1.6.2 =
Fixed: Product categories translations with duplicated names were not imported

= 1.6.1 =
Fixed: Product categories were imported as duplicates when using multi-shops

= 1.6.0 =
New: Import the translations stored in all the shops
Tested with WordPress 4.8

= 1.5.0 =
New: Import the attributes translations

= 1.4.1 =
Fixed: Categories were not assigned to the products in the translated languages
Fixed: Notice: Undefined index: id_shop_default
Tested with WordPress 4.7

= 1.4.0 =
New: Compatibility with PrestaShop 1.3

= 1.3.0 =
New: Import the manufacturers translations
Tested with WordPress 4.6

= 1.2.0 =
Fixed: Languages with codes like "pt-pt" were not imported
Tested with WordPress 4.5

= 1.1.0 =
Tweak: Use the WordPress 4.4 term metas
Tested with WordPress 4.4

= 1.0.3 =
Fixed: Notice: Undefined index: id_cms_category

= 1.0.2 =
Fixed: Fatal error: Function name must be a string (compatibility issue with PHP < 5.4)

= 1.0.1 =
Fixed: Fatal error: Function name must be a string (compatibility issue with PHP < 5.4)

= 1.0.0 =
Initial version
