Please make sure to update to WPML 4.3.5 and check our list of Known Issues before reporting

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 4 replies, has 2 voices.

Last updated by mmoI 9 months, 3 weeks ago.

Assigned support staff: Shekhar Bhandari.

Author Posts
February 21, 2019 at 2:26 pm #3227995

mmoI

Hello

It is neccesary to make this correction on this ? >

- Open the file wp-content/plugins/woocommerce-multilingual/inc/class-wcml-tp-support.php
- On line 47, replace:

1
if ( ! empty( $product ) && $product_type === 'variable' ) {
- with this:

1
if ( ! empty( $product ) && $product_type === 'variable' || $product_type === 'simple' ) {

Thanks

February 22, 2019 at 6:58 am #3231067

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you further on this issue.

Could you please elaborate the issue further, what issues are you receiving?

It seems like you are trying to use the workaround provided by the WPML support regarding XLIFF file, I am not sure if the issue is similar but the previous issues regarding XLIFF are already fixed in the latest version, so it's not needed to make any changes in the latest version.

Look forward to your reply.

Thanks

February 22, 2019 at 8:35 am #3231379

mmoI

Hello,

In few months, above updates, I had a bug for translating a single product page, so one supporter of wpml told me I had to add this code for debug this problem :

- Open the file wp-content/plugins/woocommerce-multilingual/inc/class-wcml-tp-support.php
- On line 47, replace:
if ( ! empty( $product ) && $product_type === 'variable' ) {
- with this:
if ( ! empty( $product ) && $product_type === 'variable' || $product_type === 'simple' ) {

My question is, Has the problem been fixed in new updates or is it necessary to add it again ?

Thanks

February 22, 2019 at 8:38 am #3231384

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

The fix is already included in the latest version, so no need for adding it again.

Thanks

February 22, 2019 at 8:49 am #3231407

mmoI

Thank you very much