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: Exception
This topic contains 8 replies, has 2 voices.
Last updated by Waqas Bin Hasan 1 year, 9 months ago.
Assisted by: Waqas Bin Hasan.
Author | Posts |
---|---|
March 30, 2023 at 10:24 am #13366009 | |
SimunV |
hidden link -- Link to a page where the issue can be seen:hidden link |
March 30, 2023 at 5:56 pm #13369759 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for contacting the support. I can see the said form not appearing as translated on your site. However, can you explain that if you have tried searching for the form's text (labels and fields) in String Translation? And also translated there if these were found? If not, please see these guides: - https://wpml.org/documentation/getting-started-guide/string-translation/ Further I am not very sure if either it is coming from a page builder's widget or is a result of a shortcode. Please also provide details that how you have built this form. In case if it is a widget or is based on a shortcode, you may need to register it to be recognized by the WPML, see following for details: - https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/ You 'll need to register it in WPML -> Settings -> Custom XML Configuration. And once registered, make a little change in the content where this form is added, save and translate again. Please let me know if this helps resolve the issue. Or I'll try my best to further assist you on the matter. Regards. |
March 31, 2023 at 10:02 pm #13379251 | |
SimunV |
It's coming from admin text. I tried o allow search strings in admin and find strings but I am getting this message hidden link |
March 31, 2023 at 10:34 pm #13379307 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for the update. Generally it means that string should be available in String Translation already. However, can you try the solution mentioned in this thread https://wpml.org/forums/topic/locked-translation/#post-9223203 ? Remember to adjust it according to your option (as per the screenshot). Regards. |
March 31, 2023 at 10:39 pm #13379311 | |
SimunV |
So key name I can put my theme. I dont know where to find it. I am using houzez. Mybe this will help: answer from their support maybe I need to put different default language hidden link |
April 3, 2023 at 12:46 am #13385905 | |
SimunV |
If this helps error you --> hidden link |
April 3, 2023 at 4:46 pm #13392967 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, You can use the following code to register that locked admin string (as per hidden link). Follow these steps: 1. Go to WPML -> Settings and click the tab "Custom XML Configuration". 2. Then add this markup: <wpml-config> <admin-texts> <key name="houzez_options"> <key name="spl_con_name_plac" /> </key> </admin-texts> </wpml-config> 3. Now save the page and check again on WPML -> String Translation. The string should now be added. As per the answer from their support (hidden link), this is the same you already doing, like translating string in String Translation, you don't need to add a new language. For the above mentioned string, since it is locked in Admin Strings, you can use the above mentioned steps to bring it into ST and translate accordingly. For this error (hidden link), "WPML String Translation is attempting to write .mo files..." -> This means that your /wp-content/languages folder is not writable. All you need to make it writable so the translations can be saved. See https://wpml.org/faq/cannot-write-mo-files/ for details. Regards. |
April 10, 2023 at 3:19 pm #13437941 | |
SimunV |
Is this maybe a problem: Regards. I dont have this folder at wp-content |
April 10, 2023 at 7:49 pm #13439889 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for the updates. You can simply create a folder at wp-content/languages and then make it writeable. Regards. |