0

I am using Wordpress Visual Composer's Testimonials and I want to translate the Load More button in another language. I made the change in the js-composer_ro-RO.po file using PoEdit and saved the file into wp-content/languages/plugins and then changed the language of the site into Romanian. However, the button didn't change the language.

Thank you

4
  • Please include the code that is generating the button. – cjbj Aug 21 '16 at 16:12
  • I think this is the code ... – Mihai Aug 21 '16 at 16:44
  • <a class="button bordered" onclick="load_testimonials(jQuery(this), 9, 9); return false;" href="#">Load more </a> – Mihai Aug 21 '16 at 16:44
  • in that case it can not be translated – Mark Kaplun Aug 21 '16 at 17:20
1

Your link doesn't embed translation for the "Load more" string. You need to make a modification. If the code is embed in a php file : _e('load more', 'your_txt_domain');

If the string to translate is in a js file, you need to use wp_localize_script() function.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.