Skip Navigation

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

Problem:
The client is unable to translate the word 'Type' to 'Тип' in Russian on their website using the WP Rentals theme, despite entering the translation in the backend.
Solution:
We recommend checking if the string 'Type' might be duplicated and only one instance needs translation. Here are two methods to try:
Method 1:
Navigate to WPML > String Translation, and at the bottom of the page, enable the option 'Look for strings while pages are rendered.' Then, visit the page where the string should appear, and return to WPML > String Translation to search for the string.
Method 2:
If the string is not found, it might be categorized as an admin text string. You can find and translate admin text strings by following this guide: Translate Admin and Settings Strings
Additionally, ensure that the theme is updated to the latest version in a staging environment before applying changes to the live site. If issues persist after updating, contact the theme's support regarding the license key and its association with different environments.

If this solution does not resolve your issue or seems outdated, 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. We highly recommend opening a new support ticket if the problem persists. For further assistance, you can also visit our support forum at 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 1 replies, has 0 voices.

Last updated by Mihai Apetrei 3 months 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
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03: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
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03: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