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: Known issue
This topic contains 26 replies, has 2 voices.
Last updated by michaelS-282 1 year, 9 months ago.
Assisted by: Mohamed Sayed.
Author | Posts |
---|---|
May 13, 2023 at 10:13 am #13640279 | |
michaelS-282 |
Tell us what you are trying to do? I want to translate the jet smart filters check fields on Chinese simplified page and Russia page. Please check the 1st image. The jet smart filters data source is from the jetengine custom meta boxes fields. I have enabled jet smart filters translatable, and translated them into Chinese. But the smart filters fields are still in English. Please check. Is there any documentation that you are following? hidden link hidden link Is there a similar example that we can see? What is the link to your site? hidden link |
May 13, 2023 at 10:48 am #13640509 | |
michaelS-282 |
Please check the images. |
May 14, 2023 at 1:20 pm #13643067 | |
Mohamed Sayed |
Hi Michael, I think this is caused by a known issue between WPML and JetSmartFilters, could you please create a full backup then try the workaround mentioned in the following errata page? Let me know please if that helps. Regards, |
May 14, 2023 at 3:37 pm #13643505 | |
michaelS-282 |
I already tried this method, but it does not work. You can check hidden link After change the files, I still can not locate the checkbox fields in the wpml string translation. I can provide the login credentials and FTP accounts if you need. Thank you so the second language checkbox fields are still enlish, please check below images. |
May 14, 2023 at 4:39 pm #13643583 | |
Mohamed Sayed |
Hi, Please provide me with temporary access (WP-Admin and FTP) so I can investigate this issue further. Your next answer will be private, which means only you and I have access to it. ❌ Please backup your database and website before providing us with access details ❌ If you don't see the form below, please don't add your credentials as they will be publicly exposed: Privacy and Security when Providing Debug Information for Support: Kind regards, |
May 14, 2023 at 10:25 pm #13644013 | |
michaelS-282 |
hidden link The jet smart filter is radio filter, and the data source is from jet engine meta boxes: portable detector features, it can be searched in the string translation, but |
May 15, 2023 at 7:11 am #13644855 | |
michaelS-282 |
Hey, is anyone working on this ticket? |
May 15, 2023 at 8:51 am #13645981 | |
Mohamed Sayed |
Hi, I checked the site and found the following: - The Filter and product archive template are already translated. I have created this clean sandbox setup on our servers here: 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 install the JetSmartFilters plugin and try to recreate the issue. Please don't migrate your site or 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. Please let me know how that goes and what you are able to find. |
May 15, 2023 at 8:53 am #13646031 | |
michaelS-282 |
Please wait, I will do now. |
May 15, 2023 at 8:54 am #13646037 | |
Mohamed Sayed |
Take your time, I will be waiting for your feedback. |
May 15, 2023 at 12:35 pm #13647947 | |
michaelS-282 |
Hello, I have copied the problem in the demo site. 1. Below is the EN product category page, with jet smart raido filters. 2. Below is the ZH product category As you can see, there are 2 places to be translated. 1. The checkbox values above the product title. This is built with jet engine listing, with the dynamic field. 2. The jet smart filters radio filter fields. The filter label has been translated. Please check and get asap, we missed the final delivery date. customer is pushing. Thank you |
May 15, 2023 at 1:57 pm #13648667 | |
michaelS-282 |
Hello Mohamed, are you working on this issue? |
May 15, 2023 at 5:58 pm #13650433 | |
Mohamed Sayed |
Hi, Please create a full backup then try the following workaround: 1. Open the file wp-content\plugins\jet-smart-filters\templates\filters\radio.php foreach ( $options as $value => $label ) { 3. Add the following code after the above line: //WPML Workaround if (class_exists('SitePress')) { $label = apply_filters('wpml_translate_single_string', $label, 'Jet Engine Admin Labels', 'Admin Label - '.$label ); } //End of Workaround 4. Search again for the labels in WPML > String Translation and translate it I've tested the workaround on the sandbox site and it works as you can see here hidden link Let me know please if that helps. Regards, |
May 15, 2023 at 9:08 pm #13651347 | |
michaelS-282 |
Hello Mohamed, I see the jet smart filters fileds are translated, but as you see on the demo zh product category, there is still EN checkbox value fields from single products backend. please check below image. |
May 15, 2023 at 9:12 pm #13651371 | |
michaelS-282 |
It is from Jet engine portable detector listing, the meta fields are from Portable Detector Gas Type → checkbox fields values. please check |