Topic-icon Guset User is not translatable

More
28 Nov 2018 07:13 #6539

Hello,
The issue is resolved, Please download the latest version i.e. 1.9.11


Thanks
Daniel

Please Log in or Create an account to join the conversation.

  • Tamas Szeidl
  • Tamas Szeidl's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
23 Nov 2018 14:18 #6531

Hi there,

I'm using vReview 1.9.10 and durig creating Hungarian localization I noticed that the 'Guest User' string (e.g. the name displayed at the top the review panel for reviews made by guest users) is not translatable. I've created a language override, but according to Joomla 2.5 standards the language key (this is created from the string by converting to all uppercase) may not contain any whitespace.

To fix this behaviour I had to change a core file: components/com_review/controller.php on line 3373 by simply changing space to underscore (bold):

if(!empty($username)){
    $userName = $username;
} else {
    $userName = JText::_('GUEST_USER'); // added underscore
}

Since it is not advised to modify core files, please include this fix in your next release.
Thank you.

Please Log in or Create an account to join the conversation.

Cron Job Starts