Skip Navigation

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

Problem:
The client is experiencing issues with widgets not displaying correctly after translating their site from English to Italian. They have tried adjusting settings for Custom fields, Post Types, and Taxonomies translations but have not seen any improvements.

Solution:
We recommend the following steps to address the widget display issues:
1. Navigate to Directory Listing -> Directory Builder.
2. Change the language to Italian using the top admin bar.
3. Check the translated builder.
4. Translate the Form fields.
5. Save your changes.
6. Translate one listing to Italian.
7. Clear the site's cache and then verify if the issue is resolved.

If the solution provided here does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we encourage you to open a new support ticket. We also highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our 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.

Tagged: 

This topic contains 11 replies, has 2 voices.

Last updated by Osama Mersal 7 months, 1 week ago.

Assisted by: Osama Mersal.

Author Posts
April 3, 2024 at 9:55 am #15477229

justinK-16

After translating from English to Italian, i have gone through our site looking for any inconsistencies.

I have translated strings - fixed most issues.

HOwever i have a few widgets that just don't display correctly. Check through the help forums and followed some ideas from there like going to settings and looking for Custom fields, Post Types and Taxonomies translations and setting what i believed to be relevant settings to Translatable if available or fallback.

This did not fix/change anything noticeable or regarding what i was attempting to fix.

I have recently had an Onboarding call with Yvette from WPML and she mentioned to get in touch with support to fix widget issues.

So I have 3 or 4 widgets that do not display correctly. I have listed screenshots in both English and Italian so you can see the differences with explanations of the problems.

I have them saved as a PDF if the screen shots are too hard to read

hidden link

WPML - 04.png
WPML - 03.png
WPML - 02.png
WPML 01.png
April 3, 2024 at 3:52 pm #15479491

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Please share the PDF of the issue. You can upload it to any file transfer service and share the link with us.

2) Please try the following steps to translate the widgets:

1- Go to WPML-> Theme and plugins localization, select your theme/plugin, and scan
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the needed strings
5- Select the strings
6- Click on the "Add to String Translation" button
7- Then click on the "« Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end

Kindly check our guide to know more about translating texts in the admin texts screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

Best regards,
Osama

April 3, 2024 at 7:29 pm #15480254

justinK-16

Hi Osama

Here is the PDF from my onedrive:

hidden link

I have followed your instructions from above however the problems still exist - the related text to these issues are mostly translated (except for the search).

I could still not find the strings for the two phrases in the top search feature. "What are you looking for?" and "Location" I have actually translated a couple of these strings but obviosuly not the right ones...i can't find more.

Thank you
Justin

April 3, 2024 at 8:32 pm #15480422

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Justin,

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

April 5, 2024 at 1:49 pm #15488414

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Justin,

1) Thanks for the access details. Please let me know how this search form is added because it doesn't appear in Italian. (Kindly check the attached screenshot)

Also, please let me know how you can modify its strings in English.

2) Yes, you can work on the site as you wish.

Best regards,
Osama

2024-04-05_15-50-03.jpg
April 5, 2024 at 2:05 pm #15488471

justinK-16

Hi Osama

For the directory part of our site we use the Directorist Plugin with the OneListing Pro Theme

I believe the Search feature is part of the header coming from either the Theme or the Plugin.

To find the English Fields - Go to

hidden link

Click on Search Form
There are 3 drop down boxes with the English strings

Thank you

WPML - Search Info.png
April 5, 2024 at 2:21 pm #15488575

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your reply. Please try the following steps:

1- Go to Directory Listing-> Directory Builder
2- Switch the language from the top admin bar to Italian
3- Check the translated builder
4- Translate the Form fields
5- Save
6- Translate one listing to Italian
7- Clear the site's cache and check the issue

Best regards,
Osama

April 5, 2024 at 2:52 pm #15488691

justinK-16

Hi Osama

This is what i was able to do:
1- Go to Directory Listing-> Directory Builder
2- Switch the language from the top admin bar to Italian
3- Check the translated builder

At this point the directory names and slug were in Italian - when editing and going to Search Form (well I checked all forms and Layouts here) the Forms were empty...and if i had to rebuild them it appears there are not the required preset fields to choose from.

I continued on
6- Translate one listing to Italian
7- Clear the site's cache and check the issue

This has not resolved the issue.

Not sure if i mentioned previously - but there is a Directorist - WPML Extension Plugin (it is installed and active).

I'm wondering if all the forms need to be rebuilt and translated here or if they are not displaying because they shouldn't and this is being taken care of somewhere else???

Any other ideas?

WPML - Search Form when in Italian.png
WPML - Search Form when in English.png
April 5, 2024 at 2:55 pm #15488725

justinK-16

When i translated the listing it now displays a listing count against Locations - 1 instead of 0 now...which obviously makes sense. However images still do not display.

In case that helps with what is working or not in the background.

WPML - Locations.png
April 6, 2024 at 3:48 pm #15490741

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. Could you please create the same search fields in the Italian builder and check if that would fix the issue?

Best regards,
Osama

April 9, 2024 at 9:30 am #15497926
justinK-16

Hi Osama

Yes it looks like i may need to re-build all forms and layouts (including the search) in each language and then translate either manually in the form builder (or maybe by string translation - not sure yet).

This worked for the Search in Italian - all fields now appear.

And it looks like for each language, the categories & locations of Directorist directory need to have images, icons and directories selected...(if it's a multi-directory site).

A lot of manual data entry...unless there is another option, which i am also waiting on an answer from Directorist.

So the only thing not currently functioning correctly is still the Unlimited Elements widget Filter Tabs as per number 4. rom this PDF

hidden link

Thanks

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

https://wpml.org/forums/topic/unlimited-elements-widget-filter-tabs/

April 9, 2024 at 4:29 pm #15500381

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

We try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.

Therefore, I've split the other issue and created a new ticket with this issue. (https://wpml.org/forums/topic/unlimited-elements-widget-filter-tabs/)

Best regards,
Osama