This thread is resolved. Here is a description of the problem and solution.
Problem: The client was trying to translate the invoices page strings and encountered an issue where the strings would only appear translated when the "Look for strings while pages are rendered" option was enabled in WPML. When this option was turned off, the strings reverted to English. The client suspected there might be compatibility issues with the Wp Rentals theme and requested a review from the compatibility team.
Solution: We recommended the client to first perform a full backup of their site. Then, we instructed them to remove any language files that were located outside of the WPML language folder, as they could be causing conflicts. We provided a step-by-step guide for this process:
Log in to the server via FTP or the hosting provider's file manager.
Navigate to the WordPress installation directory.
Locate and remove any language files outside of the WPML language folder.
Test the site to ensure the issue is resolved.
Monitor the site for any new errors.
Additionally, we updated the WPML String Translation plugin on the client's site, which resolved most of the issues. We advised the client to review the remaining strings.
Please note that the solution provided might be irrelevant due to being outdated or not applicable to your case. If you're still experiencing issues, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us for further assistance.
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.
I am trying to: translate the invoices page strings, WPML found the strings with the functions switched ON: "Look for strings while pages are rendered". I see the translated strings while the options is set. Soon as I turn this function OFF, then the strings become in English again.
Link to a page where the issue can be seen: hidden link
I expected to see: the translated result.
Instead, I got: language strings in site default language (english).
I've checked your screenshot and I think I know what's going on here. If there are other language files outside of the WPML language folder, they could indeed cause conflicts.
Performing a full backup before making any changes is always a good practice to ensure you can revert to a stable state if anything goes wrong. Once you've backed up your site, you can proceed with removing the language files outside of the WPML language folder.
Here's a step-by-step guide to help you:
1. Access your server: Log in to your server via FTP (File Transfer Protocol) or through your hosting provider's file manager.
2. Navigate to the WordPress installation directory: Typically, this would be the public_html or www folder, but it might vary depending on your server setup.
3. Locate the language files: Look for any language files that are outside of the WPML language folder. These files might be in the wp-content directory or other directories within your WordPress installation.
4. Remove the conflicting language files: Carefully delete any language files that are not part of the WPML plugin. Make sure you only remove language files and not essential WordPress or plugin files.
5. Test your site: After removing the conflicting language files, visit your website to see if the issue has been resolved. Check different pages and functionalities to ensure everything is working as expected.
6. Monitor for any errors: Keep an eye on your website for any new errors or issues that might arise after removing the conflicting language files. If everything looks good, you've likely resolved the problem.
7. Regular backups: Remember to regularly back up your website to prevent data loss and have a recent backup available in case of emergencies.
If the issue persists after removing the conflicting language files, there may be other factors at play, and further troubleshooting might be necessary. Let me know if you need any further assistance!
I think there is more issues with it, because I did clean installation of Wp Rentals theme, which is located at test.rantuurent.com. I still see the same issue on both sites, also in dev.rantuurent.com.
Can you take a look at the issue from a compatibility side. This may be linked to the issue I discovered earlier with the invoices. Now that the suggested modifications are made on the both test sites, I think the compatibility team should look into this issue I am having now.
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.
I'm able to fix most of the issues as shown in the attached screenshot. However, I'm still having some issues trying to translate some other strings like Booking Offer and One Time.
I would like to 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
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.
Thank you for getting back to me. I apologize for the delay. I've imported the duplicated copy of the website, and I'll conduct further investigation. I'll reach out to you with updates as soon as possible!
I apologize for the delayed response. I wanted to inform you that I'll need a bit more time to investigate this further. I'll get back to you as soon as possible!