This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with translating slugs for a custom post type slug that comes from the plugin Citadela, that was showing up on WPML->Settings->Post Types Translation.
Solution: Firstly, we recommended that any code changes should indeed be made in the child theme to prevent them from being overwritten during plugin updates. Regarding the slug translation issue, we provided the following steps:
4. After making the change, go to WPML -> Settings -> Custom post type translation -> Items (citadela-item), enter the translation for "lieu", and click "Save".
We also emphasized the importance of having a full backup of the website before making any updates or changes.
Please note that this solution might be irrelevant due to being outdated or not applicable to your case. If the issue persists, 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 necessary, do not hesitate to open a new support ticket for further assistance 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.
Ok, so I had mentioned this before and I am reconfirming: you'll have to work on our "live" (but not public) site, not the staging site or a copy, because the maps don't appear on the staging site. There's a warning saying it's a trial version of the plugin and that we need to purchase another membership of the plugin to make it work on these copy sites.
The maps are supposed to appear here and here: hidden link hidden link
On our live site, you can see them here: hidden link hidden link
Thanks for the update and sorry for the late reply due to Christmas holidays.
I didn't check the "live" (but not public) site before as I remember you were working on it, anyway I will check the maps there and will get back at you as soon as possible.
I was able to test further the issue locally and on a sandbox website using the Trial version of the Citadela theme/plugin. To further investigate the issue I escalated it to the 2nd tier support team.
I'll update you as soon as I have an update from the team.
* Note: I gave your "Live" (not yet production website) login details to the team in case any checking will be needed on your website.
I've got an update form the team and they suggested to try the workaround below:
- Go to: wp-content/plugins/citadela-directory/plugin/includes/CitadelaDirectoryFunctions.php
In the code: \CitadelaDirectoryFunctions::guessMapEndpoint find the following:
Hi Marsel, this fixed the issue! Thanks so much, I really appreciate it. Is this something I should do in the child theme instead of directly in the plugin folder?
Now I think the only issue left is the slug. Is this something you can test on the sandbox website you created?
I did manage to test locally, but unfortunately, without success. I just checked the staging site you provided earlier: hidden link.
Would it be possible to update the plugins on that setup (as there are a few pending) and check if the issue persists and let me know?
If it does persist, I'll need to escalate the problem to the 2nd tier support team.
---
* On the duplicator package and on the staging site mentioned above, I noticed that you have installed the "Loco translate" plugin, are you using it for any specific purpose on the website?
Hi, so the site you mentioned is the production site, but it's not yet available to the public. I updated the plugins there, and pushes the changes to the staging site:
Production (but not really "live") hidden link
Staging (requires password): hidden link
I believe I had installed Loco when I wasn't able to translate some strings in WPML. I've deactivated it and didn't see any impact so far. So it's now deactivated in both site listed above.