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 Prosenjit Barman 1 year, 10 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
August 22, 2023 at 6:37 am #14267845 | |
shaik-mamodeF |
I updated my plugin but now translations are not showing up..earlier it was showing waiting for traslation...then i made some changes and followed some doc. Then i made translations but no changes are shown on website. Please help!! My website url is: hidden link |
August 22, 2023 at 11:15 am #14270393 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I checked the English version of the site's homepage and noticed that everything is showing fine there. I haven't noticed any issues with the translation. Please check this full-page screenshot(hidden link) for a better understanding. Could you please tell me the steps to see the issue? If you can share a screenshot or video about the issue, that will be really helpful in understanding the issue. I will check accordingly and guide you on the next steps. Looking forward to your response. Best Regards, |
August 22, 2023 at 12:04 pm #14270817 | |
shaik-mamodeF |
Hello, |
August 23, 2023 at 6:10 am #14274695 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I understood the issues. I have checked the form properly and found that it is custom created. Now, in order to translate the custom-coded feature, please ensure that it includes support for translation. Specifically, if you're aiming to translate text displayed on the form, please make sure that the text contents are wrapped within the "GetText" function. I'd recommend reviewing the documentation provided below to understand the essential steps for making custom-coded features compatible in a multilingual environment. - https://wpml.org/documentation/support/translating-the-theme-you-created/ After that, you need to scan the theme(if you have included the custom code within the theme) or plugin so that they can be registered for translation in the String Translation section. To understand the process, please follow the steps mentioned here: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#scanning-the-theme-and-plugins Next, you can input translations for the strings via "WPML > String Translation." If set up correctly, the translated content should display on the frontend. If you can't find the specific string you're searching for within the String Translation list, it might not have been chosen for translation. In that case, please follow the instructions mentioned here: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#strings-arent-selected-for-translation I hope I'm able to clear things up for you. If you still need further assistance, please let me know. I will be happy to help. Best Regards, |
August 23, 2023 at 8:16 am #14275549 | |
shaik-mamodeF |
I have followed the same steps already and translated strings the same way and my strings are also wrapped in gettext but still few translations are not visible |
August 24, 2023 at 2:48 am #14281091 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, As the issue persists even after ensuring everything is correctly configured, a closer inspection will be required to understand the root cause of the issue. 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 which means only you and I can see and have access to 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 Looking forward to your response. Best Regards, |
August 25, 2023 at 4:47 am #14288755 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, Thanks for sharing the credentials. I have checked properly and understood the root cause. While checking, I found that some words contain an HTML entity. In order to translate those text, you need to search the text in String Translation with the HTML entity, not what is rendering in the frontend. The text "N° de Portable" is added as "N° de Portable" where '°' in an HTML entity that represents degree. When I search with the HTML entity and change the translation under the "Tarifs" domain, that change appears properly in the frontend. I also found that the source language of some text was saved incorrectly. When I changed the source language and added the correct translation, the issue was solved. Kindly check this video that I made while inspecting the issue: hidden link In this way, you'll be able to solve the translation issue with other texts as well. Please let me know if there is anything else if you need help. I will be happy to assist you. Best Regards, |
August 25, 2023 at 7:19 am #14289305 | |
shaik-mamodeF |
Thanks!! It was a great help also please can you help me finding that how can I change the source language because french strings are marked as english |
August 28, 2023 at 3:03 am #14297059 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I will be happy to help! Please check the documentation mentioned below to understand the process of changing the source language of strings. The procedure is also mentioned in the video I provided in my previous message. Please let me know if there is anything else you need help with. I will be happy to help. Best Regards, |