Home›Support›English Support›[Resolved] Slug translations never save and editor doesn't give option to translate, despite correct settings
[Resolved] Slug translations never save and editor doesn't give option to translate, despite correct settings
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to manually translate slugs in WordPress using WPML. Specifically, changes to slugs in the Classic Editor revert to the translated title after saving, and the WPML Translation Editor does not show the slug as a translation option for posts that have already been translated. Solution: First, ensure that all plugins, especially WPML, are updated to the latest versions. The issue might be occurring due to outdated plugins. If the problem persists after updating: 1. For new content, ensure the WPML setting is on 'Translate' to include the slug in the translation. This setting should allow manual slug translation when creating new translations. 2. For existing content, change the title in the original language, save it, then open the WPML Translation Editor and manually translate the slug. 3. If the slug still does not save correctly, it might be necessary to check the specific characters used in the slug, as some might not be supported or could be causing issues.
If these steps do not resolve the issue, or if the solution seems outdated or irrelevant to your specific case, please visit the WPML support forum to open 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.
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.
This works for any untranslated posts where I click on a "+" sign to create a new translation in the translation editor. However it does not work for posts that have already been translated.
ALSO: it does not accept all translation characters in the slug, and changes the words completely.
You can see a screencast of the issue here hidden link
<b>Symptoms: </b>
The slug does not appear as a translation option in the WPML Translation Editor.
And, in the classic editor, any changes I make to the slug reverts back to the translated title, even after saving the post and saving the correct WPML setting.
<b>Questions: </b>
Why does the slug not appear as a translation option in the WPML Translation Editor?
Why do changes to the slug revert back to the translated title despite saving the correct settings?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.
You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.
IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.
I may need to install a plugin called "All In One WP Migration" to create a copy of the website so I can investigate the issue further.
However, I would also be very grateful if you could provide a staging site or a copy of the website from your server for this purpose.
If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/account/websites/.
If you are unable to provide such a copy of the website for testing, please let me know on this ticket.
The private reply form looks like this: hidden link
Click "I still need assistance" the next time you reply.
Video: hidden link
Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.
Hello,
This site has no formatting on it. On the back end I am getting the message:
"Please Activate a Genesis Child Theme: We've noticed you are using the Genesis Framework parent theme alone. We strongly recommend you run a Genesis child theme with it (we even have a free theme you can use). For more information, see our article at hidden link"
None of the content is there as it is on my site.
Nothing has changed with the development site. However, I did delete the WPML registration key because I was having trouble activating on it on our live site. I am not sure if this would have affected your login credentials on the development site I set up for you, which was a copy of the site I was working on.
The other supporter was notified that you would be accessing the site too.
I am not sure if perhaps that other person changed the login details? Since I can't see existing password for the WP login, I can't check to see if the password was changed. I can only reset it. But I am worried if I do that, then the other supporter won't be able to access it.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
This issue only appears to occur when using Punjabi letters inside the URL. I can confirm this in a minimal setup testing only with WPML.
It further seems to be an issue, that only occurs if you use the Advanced Translation Editor. Using the Classic Translation Editor the slug translation will work.
I have escalated this issue to the ATE Team and I will keep you updated once I receive their feedback.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
My apologies for the huge delay in getting back to you in regards to the reported issue, but somehow I lost track of this escalated ticket.
Based on Second Tier Support and our developers, we were able to confirm an issue initially, but editing the original slug and then updating the translations solved the issue on all our tests.
Could you please give this a try and confirm if you still need assistance on this matter?
This is not working for me on all posts, only some. The slug appears translated at first, but either immediately, upon refreshing, or after a few minutes, it goes back to take the title as the slug, and not the translation. This happens even after using the WPML translation editor and getting the success message that the translation is "saved and complete"
This post does not seem to save the new slug:
hidden link
This post did save the new slug:
hidden link
The slug appears translated in the WPML Translation editor (ATE). However, on the front end and in the classic editor, the slug is not translated using the desired characters. It defaults to the page title.
I have attempted deleting a character in the title of the translated page, changing the slug and clicking save. This does not change anything. The translated slug will not appear.