<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?
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.
Hi Mihai Apetrei,
thank you very much for your quick reply and the suggestions to fix the issue.
I have tried all the suggested solutions, but I could not successfully resolve the issue.
Please can you let me know what else it could be caused by?
I have created login for you:
user: WP Rentals Support
pw: IIMyoWWhcM%c^&!jvd4s)DaX hidden link
I have already created a backup of the complete site and created a staging environment on my server hidden link. However, I cannot activate the theme on the Staging installation. This might be related to, that we use "Sign in with Google" at the Envanto site.
Also, I need to update the theme on the production site: hidden link but want to make sure the site does not break by doing that. Therefore I would like to test the update on the staging version first, before I update the live page.
user: WP Rentals Support
pw: IIMyoWWhcM%c^&!jvd4s)DaX hidden link
Looking forward to your reply and wishing you a fabulous day ahead.
Kind regards,
Dom