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: Documentation request, Exception
This topic contains 8 replies, has 2 voices.
Last updated by zurongz 1 year, 11 months ago.
Assisted by: Ahmed Mohammed.
Author | Posts |
---|---|
December 15, 2022 at 2:42 am #12654043 | |
zurongz |
Tell us what you are trying to do? I tried to translate the sidebar Is there any documentation that you are following? Is there a similar example that we can see? What is the link to your site? Second language: hidden link Original language: hidden link Please focus on the sidebar only. This is the demo site, we do have activate site running into the same issue. I attached the image, so you can see the translation was done. Thanks in advance. Best regards |
December 16, 2022 at 1:58 pm #12665257 | |
Ahmed Mohammed Supporter Timezone: Africa/Cairo (GMT+02:00) |
Hi Joe, Thank you for contacting WPML support! I was able to see the issue with translating the floating widget on your website here: hidden link. Could you please try creating a widget for each language as described in the following documents: https://wpml.org/documentation/getting-started-guide/translating-widgets/#using-different-widgets-for-different-languages? Hope that helps, and let us know if you have any other questions. We would be happy to assist further. |
December 16, 2022 at 2:19 pm #12665377 | |
zurongz |
Hi Ahmed Thanks for your input. Is it possible not using the plugin? Also I will show the floating widget only with post. While the page type = post, it will show the widget (sidebar-1). Creating unique sidebar for each language doesn't works for me. By the way, the issue persist even I disable the fixed widget. I mean, it is existed with default sidebar widget. I can provide the login if you need. It is the demo site. Best regards |
December 16, 2022 at 3:13 pm #12665745 | |
Ahmed Mohammed Supporter Timezone: Africa/Cairo (GMT+02:00) |
Hi Joe, Thank you for getting back to me! > Is it possible not using the plugin? Yes. You don't need to install any plugins; instead, you will need to choose the language for the widget, as shown in the attached screenshot. Alternatively, you can register the widgets texts in String Translation by going to WPML → String Translation → Translate texts in admin screens as shown in the attached screenshot. After that, please search for the wanted strings and add them to String Translation, as shown in the attached screenshot. Hope that helps, and let us know if you have any other questions. We would be happy to assist further. |
December 22, 2022 at 3:15 am #12696547 | |
zurongz |
Hi Ahmed Thanks for your reply. It doesn't seem to be working. This is what I done. 1. Add all the admin text block to the WMPL Best regards |
December 22, 2022 at 9:02 am #12697977 | |
Ahmed Mohammed Supporter Timezone: Africa/Cairo (GMT+02:00) |
Hi there, Thank you for trying that out! I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private, meaning only you and I can see and access it. Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved, I will delete the local site. Let me know if this is ok with you. IMPORTANT - Please backup site files and database before providing us access. |
December 22, 2022 at 9:52 am #12698891 | |
Ahmed Mohammed Supporter Timezone: Africa/Cairo (GMT+02:00) |
Hi Joe, I'm just making sure that your next reply will be private so I'm re-enabling it 🙂 Please follow the steps from the previous reply to provide me with the access details. |
December 23, 2022 at 5:02 pm #12707587 | |
Ahmed Mohammed Supporter Timezone: Africa/Cairo (GMT+02:00) |
Hi there, I appreciate your patience while I was looking into this. I have created a similar widget on my testing site using the default blocks and I was able to translate it by adding the admin texts to String Translation and it worked as shown in the attached screenshot. However, the same steps didn't fix the issue on your website as you will notice when you go to WPML → String Translation that I registered the paragraph and the advanced button from Kadence and translated them. So I went the alternative way by creating a widget for every language, not a sidebar, as shown in the attached screenshots. That worked as shown on the page: hidden link. Hope that helps, and let us know if you have any other questions. We would be happy to assist further. |
December 24, 2022 at 3:33 am #12708973 | |
zurongz |
Thank you very much. I understand what you were saying now. I hope I got point earlier. I will need duplicate the content (such as button) in the sidebar widget, and point the duplicated content to different language. It is really not easier to understand until I saw you have done. |