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 1 reply, has 2 voices.
Last updated by Mihai Apetrei 1 year, 3 months ago.
Assisted by: Mihai Apetrei.
Author | Posts |
---|---|
October 6, 2023 at 8:13 am #14525143 | |
rutgerv-8 |
Tell us what you are trying to do? I've tried the following things to get the string into the translation manager: Can you help me to translate this string? |
October 6, 2023 at 7:41 pm #14530939 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi there. Please make sure you are following our guides and also that you are following WordPress's instructions on how to localize scripts. https://developer.wordpress.org/reference/functions/wp_localize_script/ Also, please note that we are not able to provide support for custom work within this support forum which will be required for translating content from inside Javascript/jQuery. Custom work falls out of the purpose of our Support Policy. In this case, the code that you shared is adding content to the site dynamically, by using jQuery (a Javascript library) so I did my best to point you in the correct direction. If my directions are not enough I suggest contacting one of our 3rd party contractors that specialize in custom work with WPML (https://wpml.org/contractors/) or a developer of your choice. I hope that you will find this answer insightful and helpful. Mihai Apetrei |