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.

This topic contains 1 reply, has 1 voice.

Last updated by eugeneM-3 1 week ago.

Author Posts
October 11, 2019 at 3:54 pm #4740157

eugeneM-3

I can't find where to correct a translation for a Read More button on blog posts in Divi. The French translation is incorrect (it says LIRE ADVANTAGE and should be LIRE DAVANTAGE), but when I search for "LIRE ADVANTAGE" in String Translation nothing comes up. I can't seem to find it anywhere else either.

When I view source for that page in my browser, it shows this:
<script>
(function ($) {
$(document).ready(function () {
var language = $('html').attr('lang'),
moreLink = $('.post-content .more-link')
if (language == 'en-US') {
moreLink.text('read more');
}
if (language == 'fr-FR') {
//Read more text for the French Language
moreLink.text('LIRE ADVANTAGE');
$('a.more-link').text('LIRE ADVANTAGE');
$('.sb_dli_pre_footer .et_pb_slide_description a.et_pb_button').text('LIRE ADVANTAGE');
}
});
})(jQuery);
</script>

Thank you

October 11, 2019 at 9:12 pm #4741167

eugeneM-3

My issue is resolved now. Thank you!

Divi -> Theme Options -> Integration and the code was in the body part there.