Ready to get started?Download WordPress


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

  1. Zurd
    Posted 1 year 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 1 year ago #


  3. Sir Blackbeard
    Posted 1 year ago #

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

  4. Zurd
    Posted 1 year 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

About this Topic


No tags yet.