How do I change the out put of the "Average" text in the fivestar module? I want to change it to Rating. It appears like this Average: 1 (1 vote)


You can do it in several ways. The easiest is either to use the string overrides module or place some string overrides in your settings.php

Around line 416 in your settings.php file, modify the following

$conf['locale_custom_strings_en'][''] = array(
   'Average'      => 'Your new text',

I did it but nothing changed

Did you flush drupal, caches?

Yep I cleared the cache. Here's the code

* Remove the leading hash signs to enable.
$conf['locale_custom_strings_en'][''] = array(
'forum' => 'Discussion board',
'@count min' => '@count minutes',
'Average' => 'Rating',