Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported that a translation was not displaying on the frontend of their website, despite having successfully translated everything else.

Solution:
We provided a workaround for the issue. Here are the steps we took:
1. Open the

app/public/wp-content/themes/thegem-elementor/gem-templates/products-extended/content-product-grid-item.php

file.
2. Locate the snippet around line 102 and replace it with the following code:

<?php <br />// WPML Workaround for compsupp-7150<br />$attribute_name = apply_filters('wpml_translate_single_string', $attribute_data->name , 'WordPress', 'taxonomy singular name: '.$attribute_data->name );<br />?><br /><span class="attribute-name text-body-tiny"><?php echo $attribute_name; ?>:</span>

We also mentioned that we would contact the theme author to ensure that this fix is included in their next update.

If this solution doesn't look relevant to your issue, please open a new support ticket at the WPML support forum.

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 25 replies, has 3 voices.

Last updated by Kor 1 year, 3 months ago.

Assisted by: Kor.

Author Posts
January 3, 2024 at 12:55 pm #15146561

sharwinJ

A translation is not showing on the frontend of the website

January 3, 2024 at 1:19 pm #15146750

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

This ticket has been inactive for quite a while. I didn't get a reply from you. So, I've transformed this chat into a support ticket because you may still need our help.

As far as I can see, the problem is solved on your site. I checked this product.

hidden link

And I can see the string "Color" translated. Please see the attached screenshot.

If you do, please reply to this ticket, and one of our supporters will continue helping you.

If you need further help please share your site's Debug information.

You can read about it here.

http://wpml.org/faq/provide-debug-information-faster-support/

Regards,
Itamar.

2024-01-03_15-08-39.jpg
January 3, 2024 at 1:29 pm #15146807

sharwinJ

hidden link

Its on the home page product carousel

kleur not.jpg
January 3, 2024 at 1:31 pm #15146829

sharwinJ

Right beneath the banner

January 3, 2024 at 6:17 pm #15148434

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

January 3, 2024 at 10:34 pm #15148945

sharwinJ

Hi I will ask our developer to contact you by next week monday and do all the backups and other necessary steps. Sorry for the wait.

January 4, 2024 at 5:28 am #15149148

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

No problems at all. Let me know.

January 4, 2024 at 12:57 pm #15150595

sharwinJ

can you please also put the website on maintenance mode while examining the issue?

maintenance off.jpg
January 6, 2024 at 2:44 pm #15156785

sharwinJ

just now i updated the info again and it is working. Please check again

January 8, 2024 at 9:30 am #15159141

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

I can no longer see it on your products as shown in the attached screenshot. Did you remove it or could you recheck?

Screenshot 2024-01-08 at 5.29.39 PM.jpg
January 8, 2024 at 11:18 am #15159967

sharwinJ

It's up again. Please check; it's still in Dutch!

Screenshot_37.png
January 8, 2024 at 3:59 pm #15161689

Kor
WPML Supporter since 08/2022

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.

January 9, 2024 at 11:09 am #15164039

sharwinJ

Please proceed with the snapshot.

January 10, 2024 at 9:00 pm #15171482

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thank you for getting back to me.

I'm sorry for the delay. I've generated a package from your website, and I'll be importing it into my local development site for further examination. I'll get back to you as soon as possible.

January 12, 2024 at 8:08 am #15177517

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thank you for your understanding and patience.

I'm sorry for the delay, but I will need some additional time to investigate this matter thoroughly. I will get back to you shortly with an update.