Skip Navigation

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

Problem:
The client is translating a website and encounters issues with translating certain buttons on the homepage and in the shop. These buttons do not appear in the page translation or strings list. Additionally, the client is using Elementor and needs to translate custom Elementor blocks.
Solution:
1. To address the issue of missing strings, we recommend enabling the 'Look for strings while pages are rendered' option in WPML > String Translation. After enabling, visit the page where the missing string appears, then return to WPML > String Translation to search for the string.
2. If the strings are still not found, they might be registered as admin text. Follow the steps outlined in our documentation to find and translate admin text strings: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/
3. For translating custom Elementor blocks, ensure they are registered with WPML. Detailed guidance on registering custom Elementor widgets for translation can be found here: https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/registering-custom-elementor-widgets-for-translation/

If these solutions do not resolve your issue or seem outdated, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also contact our 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 5 replies, has 2 voices.

Last updated by Mihai Apetrei 5 months, 3 weeks ago.

Assisted by: Mihai Apetrei.

Author Posts
May 24, 2024 at 12:55 pm #15667869

demetraN

Hello!

I am currently trandsalting hidden link in English and finished almost everything. I am having issues with a few buttons on the homepage and in the shop as well.

1. Homepage - As seen from the first screenshot the website has 4 buttons in the beginning that I must translate. However, they do not appear as an option in the page translation or the strings list. Ii tried rescanning for strings and also looking for strings while pages are rendered to no avail.

2. Shop/Catalogue - I need to translate the Filter button from the theme language to Bulgarian - "Filter". I don't see the option in the strings menu either. The filter is initially set up through the Appearance > Widgets menu. Could you please advise how can I translate it?

Thank you for your support,
Demetra

Screenshot 2024-05-24 155411.jpg
Screenshot 2024-05-24 153826.jpg
May 24, 2024 at 12:59 pm #15667947

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi Demetra.

The proper way to translate strings depends a lot on how they have been implemented inside the theme/plugin.

IMPORTANT: Sometimes, there are even duplicates of the same string and only one of them is the correct one that needs to be translated.

Also, sometimes, simply removing the string (checking the box and removing it) and then re-registering it again by scanning for it (one of the methods below) and re-translating it resolves the issue (sounds like you did this already so let's focus on finding the duplicates that are still NOT translated).

Method 1:

Go to WPML > String Translation and at the bottom of the page you will find a checkbox called "Look for strings while pages are rendered". You can enable (check) that and then go in the front end to a page where you have that string showing up and then go back to WPML > String Translation and search for that string and see if it now shows up.

Method 2: If you can't find them inside the WPML > String Translation, they might be added as admin text.

This should be the normal process to find and translate admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please let us know how that goes.

Kind regards,
Mihai Apetrei

May 24, 2024 at 1:18 pm #15668026

demetraN

I tried all of the above and I cannot find them.

May 24, 2024 at 1:28 pm #15668078

demetraN

I also have the same issue with content further down in the home page with the images. It seems like they are all created with a plug in called Theme Sky.

May 24, 2024 at 2:46 pm #15668405

demetraN

I translated them by editing the English page in Elementor. Is that ok?

May 24, 2024 at 3:18 pm #15668479

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

Yes, that is an alternative where you can use the Elementor editor directly.

The issue here probably is that the theme comes with custom Elementor blocks that need to be registered first in order for WPML to see them:
https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/registering-custom-elementor-widgets-for-translation/