[Resolved] page not found when changing the language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to change the website language to Indonesian but is encountering issues with some endpoints not being correctly translated, which is causing problems when switching languages. Solution: We recommend reviewing the translations of the endpoints to ensure they are in the correct format and do not contain spaces. Specifically, the string causing the issue should be translated as follows:
msgid "lost-password"<br />msgstr "kata sandi yang hilang"
It is important to use the correct format and avoid spaces. For example, the problematic string:
If after following these steps the issue persists, or if this solution becomes outdated or irrelevant to your case, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, please open a new support ticket in the WPML support forum.
100% of people find this useful.
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.
1. Please increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:
2. Please go to Pages > All Pages, and make sure the translation is complete (Shows a pencil icon).
3. If the translation is complete, please create a full backup of the database and website then go to WPML > Support > Troubleshooting page and click the following:
- Clear the Cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Fix WPML table collation
- Set language information
- Fix post type assignment for translations
I would need to request temporary access (WP-Admin) to investigate the issue further. Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website first❌
✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.
If you don't see the form below, please don't add your credentials as they will be publicly exposed: hidden link
The plugin will create a package file that you can download then upload again to Google Drive or Dropbox and share the download link in the next reply which I have marked as private. I'll import it to debug the issue locally, then escalate it to our 2nd tier support team for further investigation if needed.
Alternatively, you can grant me permission to install one of the above plugins and get the copy from my side.
as explained it will affect all of your pages, since translations of these endpoints are not correct.
Please go to WPML > String translation, filter WP-Endpoints and delete all of them or make sure you have added correct translation, without any spaces and text is correct.