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 26 replies, has 2 voices.

Last updated by arnoldS-2 1 month, 1 week ago.

Assigned support staff: Carlos Rojas.

Author Posts
June 7, 2019 at 7:27 am

arnoldS-2

I am trying to:
translate the following page;

hidden link

Link to a page where the issue can be seen:

In Hebrew
hidden link
In French
hidden link

I expected to see:

the cover thumbnails

Instead, I got:

blank

June 7, 2019 at 11:01 am #3975611

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hello,
Thank you for contacting WPML support.

I would like to ask you to follow this steps:
- Create a full backup of the site for security reasons.
- Go to Woocommerce -> Woocommerce Multilingual -> Settings tab -> Troubleshooting link (bottom right) -> Sync all products.

Could you tell me if the issue persists?

Kind regards,
Carlos

June 7, 2019 at 11:22 am #3975823

arnoldS-2

There is no option "Sync all products"

June 7, 2019 at 11:27 am #3975857

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi,
I'm sorry if I didn't explain my self correctly.

Please select all options in the screen and click on the 'Start' button. That will sync all products.

Regards,
Carlos

June 7, 2019 at 1:32 pm #3976773

arnoldS-2

No difference

June 7, 2019 at 3:07 pm #3977315

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi,
Thank you very much for your message.

I took a deeper look a the site and the cause of the issue is that there are not products assigned to the translated categories, because products are set to 'Translatable - use translation if available or fallback to default language'.

In this case you need to set translate or duplicate the products in the other languages and assign them the same categories (the translations of the 'Premium' category).

Note: Once you finish the steps above you might need to adjust the category ID in the shortcodes on the secondary languages.

Regards,
Carlos

June 10, 2019 at 7:48 pm #3990017

arnoldS-2

"In this case you need to set translate or duplicate the products in the other languages and assign them the same categories (the translations of the 'Premium' category)."

Please attach screen grabs and steps to undertake the actions

June 11, 2019 at 1:13 pm #3995595

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,

Please follow the steps from our official documentation: https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/using-content-duplication/#duplicating-content-from-the-editor

Regards,
Carlos

June 11, 2019 at 2:29 pm #3996221

arnoldS-2

I believe I followed your instructions with no results. I think it would have been more productive to try translating one page yourself first.

I changed the category ID for Premium '85' in English to the translated ID French to '491'. (After not working; I reverted back).

Using a translated ID in the shortcode is the method I orginally tried before issuing this ticket.

June 11, 2019 at 2:32 pm #3996255

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi,
Thank you for your feedback.

If you authorize me I can duplicate the products in this category.

Regards,
Carlos

June 11, 2019 at 2:39 pm #3996301

arnoldS-2

Certainly, this is a copy/staging site that I have created for you.

So you don't even need to duplicate all the products. Just a few to see if it works and then you can let me know the steps.

Thank you

June 11, 2019 at 2:47 pm #3996393

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,

Thank you for your clarification. I will apply the steps in the site and I will get back to you as soon as I have an answer.

Regards,
Carlos

June 11, 2019 at 3:16 pm #3996601

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi,

I can't find why the shortcode is not working on the secondary languages, however I can see that the archive pages are working correctly. Please take a look:
- hidden link
- hidden link
- hidden link

I would suggest you to use the actual archive page in the site instead of the page with the shortcode. Also contact the authors of the shortcode to explain them this issue and ask them for a fix, as this issue is clearly on their side.

Regards,
Carlos

June 18, 2019 at 5:36 am #4040477

arnoldS-2

The shortcodes that are being used part of WooCommerce. Here is their link;

https://docs.woocommerce.com/document/woocommerce-shortcodes/

I would have thought WooCommerce Multilingual would should handle this.

Can Custom XML Configuration be used until a fix is made?

June 18, 2019 at 11:53 am #4043579

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,

Yes, you can always use Custom XML Configuration following the steps described here: https://wpml.org/documentation/support/language-configuration-files/

However, this seems strange as is this shortcode is native from Woocommerce it should work with WPML. Perhaps we are facing a compatibility issue and to check this I have created a test site with a fresh new WordPress install, WPML plugins, Woocommerce and Woocommerce Multiligual. All installed and ready to test. I would like to ask you to log in this test site and add the necessary content (minimum) to reproduce the issue. You can log in directly in the site by using this link: hidden link

Could you tell me if you were able to reproduce the issue?

Regards,
Carlos