Skip Navigation

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

Problem:
The client experienced an issue where Hebrew URLs were being translated despite settings indicating they should not be.

Solution:We requested the client to update the pages and it's translations which fixed the issue.

If this solution seems outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please 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 0 replies, has 0 voices.

Last updated by Shekhar Bhandari 1 month, 2 weeks ago.

Assisted by: Shekhar Bhandari.

Author Posts
March 5, 2025 at 9:17 am

rayaA

Background of the issue:
I just had a fresh WPML install. Before doing the automatic translation to the pages, I went to Settings>Translated documents options> Page URL> and selected "Copy from original language if translation language uses encoded URLs". I want to have all my URLs in English no matter which language it is. I also went to Languages> Site Languages> Edit Languages and chose YES for Encode URLs for all languages. Then I followed the installer and used automatic translation to translate some of the pages. Link to a page where the issue can be seen: hidden link

Symptoms:
All the Hebrew pages in the top menu URL in Hebrew have been translated. This did not happen in Arabic or Russian. The log file shows: Warning: Attempt to read property "post_type" on null in /mnt/data/home/1369476.cloudwaysapps.com/gkrgagekyw/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php on line 2132. Warning: Attempt to read property "language_code" on null in /mnt/data/home/1369476.cloudwaysapps.com/gkrgagekyw/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php on line 2134. In addition, the top three Widget in Translations queue (WPML>Translations) cannot be reviewed (Translator cannot be assigned to this job). I expected to see: Hebrew my account page should be hidden link. Instead, I got: Instead it is hidden link

Questions:
Why are the Hebrew URLs being translated although I marked that none ever should be translated?
How can I fix the warnings in the log file related to 'post_type' and 'language_code'?
Why can't the top three Widgets in the Translations queue be reviewed?
How can I ensure all URLs are in English regardless of the language?

March 5, 2025 at 11:08 am
March 5, 2025 at 12:39 pm #16778563

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi there,

To investigate this issue further, I need to replicate your site on my local environment for deeper debugging. Could you provide me with backups of your wp-content folder and database? You can zip the files and share them with us via a file-sharing platform.

Looking forward to your response.

Thanks!