Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: 

This topic contains 23 replies, has 2 voices.

Last updated by Kor 2 months, 1 week ago.

Assisted by: Kor.

Author Posts
July 28, 2023 at 1:19 am #14114233

諸藤 英治

Tell us what you are trying to do?
When switching from Japanese to English, product variations (already translated into English) do not appear in the drop-down menu.

Is there any documentation that you are following?
https://wpml.org/documentation/related-projects/woocommerce-multilingual/#variations

Is there a similar example that we can see?
I am using the "Product Add-ons" extension and have done the English translation (in strings) as well, but the label "Wrapping" and the drop down menu are in untranslated Japanese.

What is the link to your site?
Target page (page for which English translation is being tested)
hidden link

スクリーンショット 2023-07-27 15.53.39.png
スクリーンショット 2023-07-27 15.54.01.png
July 28, 2023 at 4:21 pm #14118851

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for contacting WPML support.

Please avoid sharing your credentials in your ticket unless you've marked it as a private reply.

Sorry, I can't seem to access your Website as I'm being blocked as shown in the attached screenshot. Are you able to temporarily disable the restriction so that I could login to check.

In the meantime, could you please edit this page hidden link and try "resaving" the page and see if it corrects the product attribute?

Also, please perform a full backup and navigate to WP > Woocommerce Multilingual > Status Tab > Troubleshooting link. Then, click on the sync options provided and see if it fixes the issue you had there.

Upon reviewing your debug information, I have observed that the PHP limit for your "WP Memory Limit" is lower than the recommended 256MB or the required 128MB, as mentioned in the documentation found at: https://wpml.org/home/minimum-requirements/. To resolve this, I kindly request that you contact your hosting provider and request an increase in the PHP value for you.

Screenshot_236.png
July 31, 2023 at 10:18 am #14125967

諸藤 英治

Hi Kor,

Thank you for your advice.

1. We apologize that international access to the dashboard was set to prohibited.
It is now accessible.

2. I have also expanded WordPress memory to 256MB.

3. I tried editing this page (hidden link) and "resaving" the page, but the product attributes were not modified.

4. I am sorry, but I could not locate the following.
>>Also, please perform a full backup and navigate to WP > Woocommerce Multilingual > Status Tab > Troubleshooting link. Then, click on the sync options provided and see if it fixes the issue you had there.

Best Regards,
Eiji

August 1, 2023 at 6:26 am #14130469

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I can't seem to access the backend and I'm getting the error shown in the attached screenshot. Could you check?

Also, are you able to provide FTP access to your server files?

Your following answer will be private, which means only you and I have access to it.

Screenshot 2023-08-01 at 2.22.59 PM.jpg
August 1, 2023 at 7:42 pm #14137413

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

The issue is caused by the Site Kit Google Plugin, as detailed in this link: https://wpml.org/errata/site-kit-by-google-uncaught-typeerror-illegal-offset-type-in-isset-or-empty-in/. I have resolved it by deactivating the plugin via FTP, and now I can log in successfully.

Upon reviewing your product, I noticed that the attributes have not been created here: hidden link. To rectify this, you need to create the attributes and associate them with your products.

Afterwards, proceed with translating the attributes, and they will appear on your English Language product.

August 2, 2023 at 2:17 am #14138281

諸藤 英治

Thank you for your advice.

I followed the Woocommerce manual and configured the settings directly on the products with custom attributes (not global attributes).

Managing Product Categories, Tags and Attributes
https://woocommerce.com/document/managing-product-taxonomies/

I also followed the on-screen instructions for configuration and translation in this case. Please see the attached screenshot.

Is this method of configuration not sufficient?

03.png
02.png
01.png
August 2, 2023 at 8:41 am #14139993

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Sorry, if you need to use the Woocommerce Multilingual, you'll have to create the "global attributes" and then only translate using Woocommerce Multilingual as explained here https://wpml.org/documentation/related-projects/woocommerce-multilingual/#taxonomies .

It would show up here hidden link for translation. Could you give it a try and let me know how it goes?

August 2, 2023 at 9:50 am #14140927

諸藤 英治

Thank you for your advice.

I understood the document you pointed out, but I think you can also set "Custom Attributes" instead of "Global Attributes".

The fourth tab from the top of the document you pointed out, "Translating Product Variations", also describes the translation of "custom attributes".
https://wpml.org/documentation/related-projects/woocommerce-multilingual/#variations

Quote: " Product variations can be translated in the Products tab, just like simple products. When you translate your product variation, your custom product attributes are available for translation as well."

I have the same settings as in this document.

Changing to "global settings" from now on will take man-hours, so we want to avoid that as much as possible now.

August 3, 2023 at 6:39 am #14145791

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for getting back to me.

I apologize for my oversight. Indeed, custom variables can also undergo translation. Would it be possible for me to deactivate plugins and generate test products with your authorization?

If that's not an option, do you happen to have a staging site available where I could conduct a comprehensive troubleshooting? I sincerely apologize once more for any inconvenience this may cause.

August 4, 2023 at 7:24 am #14153111

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I can replicate this issue on our sandbox site hidden link and please allow me to escalate this to our 2nd Tier support for further investigation. I will come back to you as quickly as possible.

August 14, 2023 at 2:31 am #14193979

諸藤 英治

The client will be hosting the event from August 15 to 20.
Therefore, the e-commerce site has been taken out of maintenance mode and opened to the public today.

P.S.
hidden link
Please note that with the lifting of the maintenance mode, we have removed the "color" variations that your team had test-added to the above products.

P.S.2:
The "Pair" variation of the same product had disappeared and I have re-registered it. Please be careful not to delete or alter the data in your testing as this is a production site.

August 14, 2023 at 6:37 am #14194667

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for getting back to me.

I appreciate your understanding. I've received feedback from our 2nd Tier Support, and I've retested the attribute translation. This time, I'm pleased to inform you that it was successful. You can see the positive outcome demonstrated here: hidden link.

I made a modification to the "Attributes" during the translation process to another language, using values like "test1, test2, test3," and it produced the desired outcome. As you're planning to launch tomorrow, I'm wondering if there's a staging site available where we could conduct additional testing on your side? This would help ensure everything is running smoothly and not interrupt your event.

August 21, 2023 at 12:45 am #14259451

諸藤 英治

Sorry for the delay in replying. I was on vacation due to a special period called "Bon" in Japan.

The client's event period has ended, so it is safe to continue the work.

Since we do not have a staging site, please do additional testing on the production site that we have already provided.

Please do not delete or make any changes to the current product data.

Thank you in advance.

August 22, 2023 at 7:33 pm #14273411

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Glad to hear from you again. Please allow me to check on this again and I will come back to you as quickly as possible

August 24, 2023 at 6:55 pm #14287895

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

We apologize for the inconvenience, but in order to proceed with troubleshooting, we kindly request a site snapshot. Alternatively, with your permission, we can create a snapshot on our own.

For this purpose, we typically recommend using the free plugin "Duplicator." If you are already familiar with how Duplicator works ( https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To assist you further, please follow these instructions:
Watch the Duplicator instructions video: hidden link

Refer to the instructions provided by WPML on how to provide supporters a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

If the archive file exceeds 400MB in size, please utilize Duplicator's file filters to exclude the cache, wp-uploads directory, media, and archive files.

Once you have the archive file, please share the link with us. You can use services such as Google Drive, Dropbox, or similar platforms as the snapshot file will likely be large.

Please note that your next reply will be private, visible only to you and me. You can paste the link to the file there. Rest assured that once the issue is resolved, I will delete the local site.

The topic ‘[Closed] After the English translation, the variations are not displayed.’ is closed to new replies.