Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By sp09 on
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)
Comments
~
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
I did it but nothing changed
I did it but nothing changed
Did you flush drupal, caches?
Did you flush drupal, caches?
Yep I cleared the cache.
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',
);
/**