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
- 12:00 – 16:00 10:00 – 14:00 10:00 – 14:00 9:00 – 13:00 9:00 – 13:00 -
- 17:00 – 21:00 15:00 – 19:00 15:00 – 19:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Bucharest (GMT+02:00)

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Mihai Apetrei 1 day, 19 hours ago.

Assisted by: Mihai Apetrei.

Author Posts
February 1, 2025 at 10:13 am #16658124

fireleafS

<b>Background of the issue: </b>
I am trying to translate strings in the WP Rentals theme using WPML. I can enter the translated word in the backend, but the word 'Type' is not translated to Russian. The issue can be seen on this page: hidden link

<b>Symptoms: </b>
The word 'Type' is not being translated to 'Тип' on the website, despite entering the translation in the backend.

<b>Questions: </b>
Why is the word 'Type' not translating to Russian on the website?
How can I ensure that all strings are translated correctly in the WP Rentals theme?

Bildschirmfoto 2025-02-01 um 17.15.25.png
Bildschirmfoto 2025-02-01 um 17.14.38.png
February 2, 2025 at 11:43 pm #16660795

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there, and thank you for reaching out.

Certain strings may require a specific procedure to be located and translated.

Moreover, the proper method for translating strings greatly depends on how they have been incorporated into the theme/plugin. Some plugins might not even be written in a way where the coded strings are implemented in an "internationalized" way so that is why no multilingual plugin might be able to see the strings out of the box without some extra work upfront.

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

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.

Please attempt both methods and check if either of them resolves the issue.

Method 1:

Navigate to WPML > String Translation, and at the bottom of the page, you will find a checkbox labeled "Look for strings while pages are rendered." You can enable (check) that option, then go to the front end to a page where the string is displayed, and afterward return to WPML > String Translation to search for that string and see if it now appears.

Method 2:

If you can't locate them within WPML > String Translation, they might be included as admin text strings.

This is the typical process for finding and translating admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

Related documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please keep me informed about your progress.

Mihai Apetrei

February 11, 2025 at 1:42 pm #16691942

fireleafS

Hi Mihai, thank you for your reply and the suggestions.
I have followed the instructions above but could not resolve the problem.

I have created a staging environment but can't activate the theme there as the login to Evanto doesnt work for some reason. As its a live site I'd prefer to do changes on staging environment first.

February 11, 2025 at 2:29 pm #16692156

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi Dom,

Thank you for the valuable information you shared.

From what I can see in the backend of your live site, it appears that the theme is using a fairly old version. This could be the reason why the translations are not displaying properly.

You’re correct in your plan: it's best to test the latest version of the theme in a staging or testing environment.

If you encounter issues using it in a different environment, please reach out to the theme’s support. The problem may be related to the license key currently linked to the live site. You should be able to change the URL associated with the key or disconnect it from the live site and connect it to the testing environment's domain.

Once you have updated the theme to the latest version and verified that there are no fatal errors, and if you can confirm that the translation issue is still taking place, please let me know so that I can assist you further.

Thank you for your understanding and cooperation. I look forward to your response.

Mihai