[Waiting for user feedback] Issue with Translating
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.
WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Background of the issue:
I am trying to translate the 'MyListing' theme on my site hidden link using WPML. The issues are related to translating 'Listing Type' and other fields.
Symptoms:
The 'Listing Type' field does not display correctly in English, showing the Arabic version instead. There is a 404 error when switching from Arabic to English on the front-end, and several fields are not translating in the backend.
Questions:
How can I ensure the 'Listing Type' field displays correctly in English?
What steps can I take to resolve the 404 error when switching languages on the front-end?
Why are some fields not translating in the backend despite being set for translation?
To add to my previous message, It looks like the issue is only happening with the listing items and not with standard WP pages. I believe this is one of the issues that users have reported with this plugin.
As mentioned during our chat we are not compatible with the plugin and their team has also confirmed this and added it as a warning on their documentation.
Thank you for your detailed response and for investigating the issue further. We appreciate your clarification regarding the permalink behavior and the specific challenges related to the "MyListing" theme.
We understand that the theme is not officially compatible with WPML, as noted in the documentation. However, since the issue appears to be specific to listing items and not standard WordPress pages, could you kindly advise if there’s any workaround or customization we could apply to resolve this permalink issue?
Specifically, is there a recommended way to enforce the ?lang=en parameter for these listing items when switching languages? Even a partial solution to this issue would greatly help us in managing the site's functionality.
We have put a lot of time and effort into working on this site and changing the theme is currently causing us a lot of suffering.
I understand your response but if there is a possibility to solve this issue only we would be grateful to you for that.
Once again, thank you for your time and assistance. We value your support and look forward to hearing from you.
Additionally, could you kindly recommend any themes that provide similar functionalities for "Listing Posts" and related fields but are fully compatible with WPML? This would help us consider alternative solutions for future projects.
As noted the "MyListing" theme is not officially compatible with WPML and the two do not work well together. The issues you're encountering with listing items (as opposed to standard WordPress pages) do fall within the limitations stemming from this incompatibility.
Unfortunately, there is no known workaround that would help resolve this issue, while I cannot guarantee that this is possible you could attempt to enforce the permalink using some custom functionality in functions.php
Or create some custom rewrite rules, which again one of our certified contractors would be a good idea to consult as custom solutions are outside the scope of our support.
I completely understand that spending time on something that ends up working is not a favorable outcome, however, please do note that if there was a 'workaround' or a possible solution our team would have shared this with our users as we did have a dedicated compatibility team working on this and the results were indeed unfavorable. When it comes to compatibility it requires both our team and the theme/plugin team to be willing to cooperate.
To review compatible themes and plugins you can use the following two links>