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.

Tagged: 

This topic contains 15 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 5 months ago.

Assisted by: Mohamed Sayed.

Author Posts
July 6, 2023 at 9:04 am #13956819

anastasiaM

Still trying to translate meta field option value. Nothing works

July 6, 2023 at 2:38 pm #13961241

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

Could you please confirm that you tried my colleague's suggestion here https://wpml.org/forums/topic/crocoblock-meta-boxes-translation/#post-13892595 by updating the product translation after making a small change to the original and saving it?

If yes, please create a full backup of the database and website then Please go to WPML > Support > Troubleshooting page, and click the following:

- Clear the Cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML table collation
- Set language information
- Fix post type assignment for translations

Then create a new product, translate it, and check if you still see the same issue.

Let me know please how that goes.

Kind Regards,
Mohamed

July 6, 2023 at 4:00 pm #13961893

anastasiaM

The problem is that this meta field is used in product archive template. It is taking from product data.I saw that the data is incorrect and this should b fixed. But even the title does not get translated
hidden link
hidden link

July 8, 2023 at 4:00 pm #13971717

Mohamed Sayed

Hi,
Sorry for the late reply due to the weekend.

I checked the site and performed many tests but the issue persists. I think this could be related to the following known issue: https://wpml.org/errata/jetsmartfilters-smart-filters-custom-fields-are-not-translated-in-secondary-languages/

But the workaround mentioned in the errata page didn't help, so I escalated the issue to the 2nd tier support team and will update you once I get their feedback.

July 10, 2023 at 1:10 pm #14000921

Mohamed Sayed

Hi,

I'm afraid we couldn't find any clues yet.

May I kindly ask you to replicate the issue on one of our testing sites and let us know the steps?

This will help our compatibility developers to investigate the issue further and try to provide a fix.

I have created this clean sandbox setup on our servers here:
hidden link (one-click login)

The site includes some dummy products + categories, and the following plugins are already installed:

- WooCommerce
- Elementor
- JetEngine
- JetSmartFilters

I would need you to please set up WPML + the WPML add-ons as you have them on your site (they are already installed) and to also try to recreate the issue and provide us with the exact steps.

Please don't install anything else like plugins that are not necessary, on a clean sandbox we try to use just the WPML plugins and the plugin/theme that's part of the issue

If the issue is going to take place on this clean setup on our servers too, then I can forward this to our compatibility department.

I also suggest contacting Crocoblock support and sharing the issue with them as they are aware of the previous similar issue, so probably they can provide a quick fix.

Please let me know how that goes and what you are able to find.

July 12, 2023 at 3:37 pm #14026775

anastasiaM

The site this is development from is the cavedegeneve.ch
I already told one of their staff to upload the developement install according to this guide.
Please keep it open until they have given me news. I think they will work on this next week

July 12, 2023 at 4:39 pm #14027187

Mohamed Sayed

Sure, take your time.

I will be waiting for your updates.

July 15, 2023 at 7:07 am #14041919

anastasiaM

The company has duplicated the issue. I will check on Monday and let you know

July 16, 2023 at 11:59 am #14044349

Mohamed Sayed

Thanks for letting us know, take your time.

July 17, 2023 at 4:40 pm #14051877

anastasiaM

The company employee tried to reproduce the bug on the test install you created. Here is the testing procedure
hidden link

July 18, 2023 at 10:52 am #14058373

Mohamed Sayed

Thanks, I forwarded the steps to our compatibility developers and will let you know you once I get their reply.

July 24, 2023 at 5:47 am #14085609

anastasiaM

Is there anything new on this?

July 24, 2023 at 4:38 pm #14091537

Mohamed Sayed

Hi,
Sorry for the late reply!

Our compatibility team is still working on this issue, I will update you once I get their feedback.

July 25, 2023 at 7:32 am #14093585

Mohamed Sayed

Hi,
Thanks for your patience!

Please try the following steps:

1. Open the wp-content\plugins\jet-smart-filters\templates\filters\select.php file
2. Replace the following snippet (line 58):

foreach ( $options as $value => $label ) {

With:

foreach ( $options as $value => $label ) {
			// WPML workaround for compsupp-6878
			$label = apply_filters('wpml_translate_single_string', $label, 'Jet Engine Admin Labels', 'Admin Label - '.$label );

3. Make sure that the strings are translated in WPML > String Translation

Let me know please if that helps.

July 25, 2023 at 1:54 pm #14097089

anastasiaM

No. The texts are translated but nothing changes. Maybe you should login to check. We need to deliver by Monday the latest. And this cannot be solved 🙁