This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with translating category buttons in the sidebar using Kadence, and they do not appear in the Dashboard > Widget area, or if you have problems with measurement units in the French version of your site displaying incorrectly, we can help.
Solution:
For translating category buttons, we recommend adding the following XML configuration to your site:
<wpml-config><br /> <admin-texts><br /> <key name="widget_block"><br /> </key><key name="*"><br /> <key name="content"></key> </key><br /> <br /> </admin-texts><br /></wpml-config>
You can add this through WPML -> Settings -> Custom XML Configuration. After adding the XML, you can find the strings for translation by navigating to the WPML String Translation page. Although this method might not be the most user-friendly, currently, it is the necessary approach due to how the data is stored.
Please note that this solution might be irrelevant if it's 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 the issue persists, please open a new support ticket.
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: Compatibility
This topic contains 11 replies, has 2 voices.
Last updated by emmanuelleD-4 3 days, 12 hours ago.
Assisted by: Bruno Kos.
Author | Posts |
---|---|
January 9, 2025 at 3:15 pm #16578643 | |
emmanuelleD-4 |
Background of the issue: Symptoms: Questions: |
January 10, 2025 at 10:37 am #16581564 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Hi, Thank you for contacting WPML support! Is the issue with these categories?
Are these translated in the backend through the WPML -> Taxonomy Translation? As for the WP Recipe Maker Premium, can you create a new ticket (for our support rules to handle one issue per time) so we could check it as well? Regards, |
January 14, 2025 at 3:45 pm #16593807 | |
emmanuelleD-4 |
Hi Bruno, Yes the issue is the one you pointed out "catégories populaires". Yes all my categories are translated in the taxonomy translation section but that section in my sidebar are buttons, they don't pull the categories from the taxonomy. I found the string, but it just wouldn't translate for some reason. Thanks in anticipation, Emma |
January 15, 2025 at 7:07 am #16595671 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Would you be willing to provide me with WordPress credentials so I could investigate the issue directly? And tell me where in the backend is this set so I could check:
I marked your next reply as private so that you can safely add credentials. |
January 16, 2025 at 7:33 am #16599928 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Can you tell me where is this set in the backend? Which widget/elements? Because I see within hidden link that all are empty. |
January 17, 2025 at 5:46 pm #16607792 | |
emmanuelleD-4 |
Hi Bruno, Yes for some reason with Kadence, my widgets are locked in the dashboard so I can only customize them in the customizer. You need to go to appearance-customize, then you can click on the edit button of the categories in the sidebar and it will take you where they are. In String Translation, if you look for [widget_block][164]content, you will find them there. But for some reason when I translate them, they don't translate. If you hop on my blog, I'm currently also facing another issue. I have setup WPdiscuz which customizes the comment section. But for some reason, even when enabling " Track where strings appear on the site" absolutely nothing related to that plugin gets translated (title, placeholder, buttons, etc.) I'm not sure whether I need to open a new ticket for this, I am mentioning it since you will login. Many thanks, Emma |
January 20, 2025 at 7:55 am #16611896 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
Can you tell me where do I need to click to get there? I don't see it here. As for the other issue can you open a new ticket? |
January 20, 2025 at 3:01 pm #16614101 | |
emmanuelleD-4 |
Hi Bruno, You need to be on a post page (not the homepage) then click on Widgets and you will see Sidebar 1. Or you can directly click on the widget in the sidebar, there is an edit icon for each widget when you are in "customize" mode, but you need to be on a post. Many thanks, Emma |
January 21, 2025 at 9:30 am #16617279 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
I only found this in the String Translation <!-- wp:kadence/advancedbtn {"btnCount":2,"uniqueID":"_8b42c8-0a","btns":[{"text":"< 30 minutes... and translated it, but it doesn't seem to have effect. I am checking this with our 2nd tier and will keep you posted. Perhaps it is even a compatibility issue between Kadence customizer blocks and WPML. |
January 21, 2025 at 5:13 pm #16620031 | |
emmanuelleD-4 |
Thanks Bruno, I will wait for your response. Emma |
January 22, 2025 at 6:28 am #16621120 | |
Bruno Kos Supporter
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+01:00) |
We are able to achieve this through this XML: <wpml-config> <admin-texts> <key name="widget_block"> <key name="*"> <key name="content" /> </key> </key> </admin-texts> </wpml-config> Added through WPML -> Settings -> Custom XML Configuration. And then the string is here: It isn't the most user friendly to translate like this, but this is how this data is stored so as of now there is no other method. |
January 22, 2025 at 9:54 pm #16625155 | |
emmanuelleD-4 |
Hi Bruno, Thank you so much for your help! It does work now, I have just modified some of the translations but everything works perfectly 🙂 Many thanks, Emma |