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 9 months, 2 weeks ago.

Assisted by: Kor.

Author Posts
March 4, 2024 at 3:52 pm #15371034

ziga pipan

Register custom Elementor Widgets

March 4, 2024 at 4:07 pm #15371136

Kor
Supporter

Languages: English (English )

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

Thanks for your patience.

Here is the ticket and please let me know how it goes.

March 4, 2024 at 4:30 pm #15371230

ziga pipan

When pasting xml to Custom XML Configuration tab I get this error
hidden link

March 4, 2024 at 7:05 pm #15371749

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

Try removing that section and see if it works? If not, I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

March 5, 2024 at 7:32 am #15372775

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

Could you please grant me full administrative access to your Website? I can't seem to access the WP admin dashboard area.

March 5, 2024 at 10:17 am #15373577

ziga pipan

sorry, done now

March 5, 2024 at 2:16 pm #15374930

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

I've added the custom XML configuration for you and it should allow you to translate the titles as shown in the attached screenshot here hidden link

Screenshot_206.png
March 5, 2024 at 2:42 pm #15375067

ziga pipan

Thank you!

I have a question for this site in general. I don't wish to just transalte my site, I want to make it multilangual, in Slovenian and English. How do I translate ad listings and listing categories? Also, it is possible for the ads to be shown in both languages, no matter the language? If someone submits and listing that is in english or slovenian, the listing must be shown in both languages?

many thanx

March 5, 2024 at 3:05 pm #15375203

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

If you want a listing to be shown in all languages, you'll need to trigger the translation or enable automatic translation https://wpml.org/documentation/automatic-translation/ . This is how you can enable translations for listings. hidden link . I hope it helps.

March 5, 2024 at 3:47 pm #15375365

ziga pipan

Thanks, will give it a go. How can I make listing appear in both languages when not translated?

March 5, 2024 at 3:48 pm #15375366

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

Then choose "Translatable - use translation if available or fallback to default language".

I hope it helps.

March 5, 2024 at 3:50 pm #15375373

ziga pipan

yeah, makes sense, sorry i missed that 🙁

March 5, 2024 at 3:51 pm #15375376

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

No problems at all. Marking this ticket as resolved.

March 5, 2024 at 5:54 pm #15376000

ziga pipan

So I enabled translations for listings, I can now translate them fine manually, I also did that for categories and so far so good.

But to be cleat, there is now way to show listings on both languages without enabling automatic translations? Thing is, I don't want listings to be translated, I just want them to show everywhere, no matter the listing language.

That being said. If somebody submits a listing in ENGLISH version, and somebody is looking at this on Slovenian site, everyting on the site would still be slovenian hidden link, except the description of the listing - hidden link

March 5, 2024 at 5:56 pm #15376003

Kor
Supporter

Languages: English (English )

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

Thanks for your reply.

If that's the case, you can turn off automatic translation. Then, if the option "Translatable - use translation if available or fallback to default language" is selected, translated pages will display the listings from the primary language for untranslated listings.