WP Customer Reviews
[resolved] [RESOLVED] How to translate this plugin? (4 posts)

  1. Zurd
    Posted 2 years ago #

    I needed to translate this plugin in another language than english. Many people in the support forum ask how but there's is no answer. Here's how to translate it, note that it won't work if you have a .mo language file because this plugin doesn't use the GetText function for translation.

    Open up wp-customer-reviews.php:
    - Change all strings in $fields .= '<tr><td><label for="
    - Right after : <div id="wpcr_postcomment">
    - For the date and by, right after : $name_block = '' .

    Open up wp-customer-reviews.js
    - Change all javascript alert string

    In summary, it's just about searching for the text you want to translate in either of these 2 files and translating it. Of course if you update the plugin in the future, you will lose all your modifications.


  2. Zurd
    Posted 2 years ago #


  3. Sir Blackbeard
    Posted 2 years ago #

    Does this help the plugin to recognize letters like ė, ę, š etc?

  4. Zurd
    Posted 2 years ago #

    It did on my website, if not, check your header, mine is :

    <html xmlns="http://www.w3.org/1999/xhtml" lang="fr-FR">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Customer Reviews
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.