This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to translate multiple widgets on their website. When setting the language for one widget and saving, it would change the settings of previously configured widgets to display in all languages. Solution: We recommended deactivating the WPML Widgets plugin as it was not necessary. Instead, the client should: 1. Go to Appearance->Widgets. 2. Add the widget twice. 3. Add the translation in the second widget. 4. Set each widget to a specific language, ensuring one widget is set for each language (e.g., one in English and another in Spanish). For further details on this method, visit Translating Widgets documentation. Additionally, we suggested installing the "Classic Widgets" plugin to potentially resolve interface issues related to legacy widgets.
If this solution does not resolve your issue or seems outdated, please check the related known issues at https://wpml.org/known-issues/, verify you have the latest versions of themes and plugins, and consider opening 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.
Background of the issue:
I want to translate my widgets on my site hidden link. I followed the documentation here https://wpml.org/documentation/getting-started-guide/translating-widgets/ but I am still unable to translate the widgets. With the plugin "WPML widget" I am unable to save the language and every time I refresh the page it’s still "all languages" and not the language which I saved before. The other steps seemed to be super complicated as I don’t want to add code to my WordPress theme. I want to translate the widget "Header - Area One" and the IT text should be "Prenota tavolo".
Symptoms:
I am unable to save the language in the WPML widget, and it defaults to "all languages" after refreshing the page.
Questions:
Can you help me translate my widgets without adding code to my WordPress theme?
Hello, it almost works but if i have two widgets (like in the screenshot) i set the language for the first and save and it works. Then if i set the language for the second widget and i save it, it cahnges the first one to display on bouth languages. So somehow i can only set the language for 1 widget. Can i provide you access to my site and you check it?
I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)
**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **
I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.
NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.
No it is still not working. Please check the sticky header and the footer. This 3 widgets needs to be translated but once you change it now on the other 2 it will set the first on back to "all languages". It is very weird.
I was able to reproduce the issue, I fixed the sticky header and then it broke the main menu items I had already fixed.
If possible please go to Plugins and install this plugin "Classic Widgets"
Then try the steps again and let me know your results.
I wonder if this behavior is related to the interface because it is a legacy widget.
Let me know your results, please.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.