Skip Navigation

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

Problem:
The client was trying to translate a homepage but found that only the page title was showing in the translation. The content was mostly displayed from listings and categories, which had not been translated. Additionally, the client was using a custom Elementor widget from the Listeo theme and was unsure how to enable translation for it.

Solution:
1. We recommended registering the custom Elementor widget for translation using the WPML Compatibility Test Tools plugin. Detailed instructions can be found here: https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/registering-custom-elementor-widgets-for-translation/

2. To display listings in both languages without translating them, we advised enabling the 'Translatable - use translation if available or fallback to default language' option. This allows listings to be shown in all languages, displaying the content from the primary language if no translation is available.

3. If automatic translations are not desired, the client can turn off this feature. With the 'Translatable - use translation if available or fallback to default language' option selected, translated pages will still display listings from the primary language.

If the solution provided here does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we 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. If you still need assistance, please open a new support ticket with us: https://wpml.org/forums/forum/english-support/

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 topic contains 19 replies, has 2 voices.

Last updated by Kor 8 months, 2 weeks ago.

Assisted by: Kor.

Author Posts
March 5, 2024 at 6:08 pm #15376035

ziga pipan

will try and report back

March 9, 2024 at 1:47 pm #15391497

ziga pipan

Still translating everything. will see how it goes in couple of days.

March 10, 2024 at 4:30 pm #15392776

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Please let me know how it goes.

March 11, 2024 at 1:33 pm #15395637
ziga pipan

Hello. I think I have now translated everything fine.

My problem is this.
This is the SI listing ad
hidden link
when I click on ENGLISH flag, it says it's gonna take me here
hidden link
but instead it takes me here
hidden link

So the url should be /listing/ instead the url is /product/

Because of that it does not have the listing layout
Instead of this
hidden link

I see this
hidden link

how can I fix that?

New threads created by Kor and linked to this one are listed below:

https://wpml.org/forums/topic/language-switcher-not-opening-the-correct-link/

March 11, 2024 at 2:51 pm #15396114

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Glad to know that the translations worked fine. Please mark this ticket as resolved.

As for your new question, I've split the ticket here https://wpml.org/forums/topic/language-switcher-not-opening-the-correct-link/ for you so that we could follow up accordingly.

March 11, 2024 at 2:53 pm #15396123

ziga pipan

thank you