tumil Posted July 8, 2016 Share Posted July 8, 2016 (edited) Hello. I managed to translate every single one of this module's fragments but not this one. Here's the screenshot: Where can I find a file where I could do that? There's no such field in Translations in back office. Thanks for help Edited July 8, 2016 by tumil (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted July 8, 2016 Share Posted July 8, 2016 Go to Modules > Product comments > Configure, scroll down to the "Review criteria" section and then click the "Edit" button for the "Quality" criterion. You can then click the language dropdown next to the "Criterion name" text field to enter translations for all languages. 4 Link to comment Share on other sites More sharing options...
tumil Posted July 8, 2016 Author Share Posted July 8, 2016 I can't believe that I missed it :] Thanks alot Link to comment Share on other sites More sharing options...
Robe15 Posted July 9, 2016 Share Posted July 9, 2016 But how to translate "Cancel Rating" that appear after selecting the stars following the word "Quality" Thanks for help. Link to comment Share on other sites More sharing options...
rocky Posted July 10, 2016 Share Posted July 10, 2016 It seems you've found a bug in the product comments module. I see no way to translate that string. You'll need to modify themes/<your_theme>/modules/productcomments/productcomments.tpl and add the following to the bottom of the file: <script type="text/javascript"> $('input.star').rating({ cancel: '{l s='Cancel Rating' mod='productcomments' js=1}' }); </script> You'll then be able to translate the string by going to Localization > Translations, selecting "Installed module translations", your theme and the language you want to translate, then scroll down to the <your_theme> - productcomments section. You should then see "Cancel Rating" at the bottom of that section. Enter a translation and then click the "Save" button. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now