• Resolved Zurd

    (@zurd)


    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.

    http://wordpress.org/extend/plugins/wp-customer-reviews/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[RESOLVED] How to translate this plugin?’ is closed to new replies.