fixgear Posted April 1, 2013 Share Posted April 1, 2013 hey gang. i would like the word "comments" to read "reviews". see attached screen capture. i havre managed to change a lot of the tab texts by editing the words in the {l s='XXX'} code in the "product.tpl" file but when i look for this particular tab text it is not in that file i have looked in the "productcomments.tpl" file as well in the "productcomments" module but all of the "comments" text is important code and should not be touched as far as i know. for the life of me, i cannot find the {l s='Comments'} ANYWHERE? i have looked in the "ProductComment.php" files as well but the tag is not there either. i found this code in the "en.php" translation file... ------------ <?php global $_MODULE; $_MODULE = array(); ------------ but do not understand if it is a hint. do i need to look in the global.php file and if so, where do i find it as i have looked everywhere. any ideas? thanks, jer... Link to comment Share on other sites More sharing options...
vekia Posted April 1, 2013 Share Posted April 1, 2013 the answer is in tab.tpl file: <li><a href="#idTab5" class="idTabHrefShort">{l s='Comments' mod='productcomments'}</a></li> 1 Link to comment Share on other sites More sharing options...
Whispar1 Posted April 1, 2013 Share Posted April 1, 2013 (edited) You should be able to check under translations and search under "installed module translations", then default tab 1 expressions. Vekia posted before I hit post - his works great too! Edited April 1, 2013 by Whispar1 (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted April 1, 2013 Share Posted April 1, 2013 if he use prestashop 1.5.4 i've got bad news, There is a certain bug that makes it impossible to translate the modules, more info here: http://forge.prestashop.com/browse/PSCFV-8559 1 Link to comment Share on other sites More sharing options...
Whispar1 Posted April 2, 2013 Share Posted April 2, 2013 I think it is an alternate theme. Make sure you choose the theme being used in the drop-down box next to "installed modules translations" If the developer included a tabs.tpl it should still work. 1 Link to comment Share on other sites More sharing options...
fixgear Posted April 2, 2013 Author Share Posted April 2, 2013 hi guys and thanks! i'm using 1.5.3.1 whispar1, i went to translations and opened the installed module translations for both english and spanish and for some reason all of the fields are blank (see attached "prodcomments.png") and also, there is no "Comments" field which is the one i was looking for. vekia, not sure how i missed that tab.tpl file. it did the trick so thanks BUT it also changed the spanish version to the same thing, "Customer Reviews" when i had it in spanish (Reseñas) before and now i cannot seem to find the translation so i can't change it back. any ideas? thanks, jeremy... Link to comment Share on other sites More sharing options...
fixgear Posted April 2, 2013 Author Share Posted April 2, 2013 interesting. i did a test out of curiosity and when i change the word back to "Comments" (from "Customer Reviews") in the tab.tpl file the spanish version changes back to "Reseñas" as it was before. Weird what is going on here. jer... Link to comment Share on other sites More sharing options...
vekia Posted April 2, 2013 Share Posted April 2, 2013 its all because when you change something in tpl file, then you need to translate it in bo Link to comment Share on other sites More sharing options...
fixgear Posted April 2, 2013 Author Share Posted April 2, 2013 yes, i know but when i go to the product comments module in bo and click configure and then click manage translations (the spanish flag) all i get is the attached error. i know i translated the word "comments" to "reseñas" somewhere but i cannot recall where. in what file would i find these translations to do it manually as the error suggests? i mean when i change the english text to "Customer Reviews", where is that created on my server so i can go translate it without having to use bo to do so? thanks, jer... Link to comment Share on other sites More sharing options...
vekia Posted April 2, 2013 Share Posted April 2, 2013 in this case you should read our article: max_input_vars prestashop issue i writed it especially for you :-) Link to comment Share on other sites More sharing options...
fixgear Posted April 2, 2013 Author Share Posted April 2, 2013 hahah! thanks! i had actually already written to my host to ask if they can up the limit and this is their response... ------------------------ "Hi Jeremy, Thanks for your ticket. I'm forwarding this to Ben for further assistance in about 4-8 hours. He'll determine if that's a limit we can allow to be increased on a shared plan or if a dedicated plan will be required, thank you. ------------------------ so i wrote back asking if they can at LEAST allow me the new limit temporarily so i can make the chabge. sounds like they may try to force me into a dedicated plan and get more money out of me i really do not want to have to create a WAMP server as i use MAC and my PC is crap!!! jer... Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 2, 2013 Share Posted April 2, 2013 Hi fixgear, don't be scared of the localhost! You don't need an amazing PC to run it, plus it's very useful to use for testing and module quality purposes. I totally recommend having a local host. 1 Link to comment Share on other sites More sharing options...
vekia Posted April 2, 2013 Share Posted April 2, 2013 you don't have to use WAMP package, if you use MAC - MAMP solution is for you :-) or xampp for mac: http://www.apachefri...mpp-macosx.html anyway i totally agree with Benjamin, it is necesarry to have got own localhost with prestashop installation :-) even if you arent developer Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 2, 2013 Share Posted April 2, 2013 Thanks vekia, also, here is a nice tutorial by Forum mod Dh42, about installing xammp. It's pretty cool, http://blog.dh42.com/installing-prestashop-locally/ Link to comment Share on other sites More sharing options...
fixgear Posted April 2, 2013 Author Share Posted April 2, 2013 thanks. i'll give it a go. jer... Link to comment Share on other sites More sharing options...
Whispar1 Posted April 2, 2013 Share Posted April 2, 2013 When you log into your ftp, do you see a file called php.ini? You can edit it with notepad++ If so, there is a section called resource limits: Using Vekia's tutorial adjust the limits in that section. Create a backup of the php.ini file first in case the edits do not take. Link to comment Share on other sites More sharing options...
fixgear Posted April 2, 2013 Author Share Posted April 2, 2013 hi Whispart. no, unfortunately i am on a shared server and they do not allow me access to that file thanks anyway, jer... Link to comment Share on other sites More sharing options...
stkramer Posted May 23, 2013 Share Posted May 23, 2013 I'm facing this same problem. I've been able to translate almost all of the productcomments module except for the TAB showing on the productpage. Can anyone help me out? Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 23, 2013 Share Posted May 23, 2013 if he use prestashop 1.5.4 i've got bad news, There is a certain bug that makes it impossible to translate the modules, more info here: http://forge.prestas...owse/PSCFV-8559 Just to remind everyone that this bug is fixed in this 1.5.4.1 version released over a month ago. Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 23, 2013 Share Posted May 23, 2013 I'm facing this same problem. I've been able to translate almost all of the productcomments module except for the TAB showing on the productpage. Can anyone help me out? Did you try Vekias solution? "the answer is in tab.tpl file: <li><a href="#idTab5" class="idTabHrefShort">{l s='Comments' mod='productcomments'}</a></li>" Link to comment Share on other sites More sharing options...
stkramer Posted May 23, 2013 Share Posted May 23, 2013 Did you try Vekias solution? "the answer is in tab.tpl file: <li><a href="#idTab5" class="idTabHrefShort">{l s='Comments' mod='productcomments'}</a></li>" So shoud I just change 'Comments' there to the name I want? Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 23, 2013 Share Posted May 23, 2013 Well, first you should make a backup of your PrestaShop files and SQL Database! After that, yeah change the 'Comments' to what you what. If it doesn't work or breaks your website (it shouldn't) then you can always revert to your backup! Link to comment Share on other sites More sharing options...
fixgear Posted May 23, 2013 Author Share Posted May 23, 2013 hey stkramer. follow benjamin's instructions. i changed mine to "customer reviews", you can see it at http://www.fixgear.info/en/short-sleeve-cycling-jerseys-men/202-shark-skin-fixgear-short-sleeve-cycling-jersey.html . saludos, jer... Link to comment Share on other sites More sharing options...
vekia Posted May 23, 2013 Share Posted May 23, 2013 That's correct, translations in 1.5.4.1 works like a charm, so i suggest everyone to update own shop to the newest version Link to comment Share on other sites More sharing options...
stkramer Posted May 28, 2013 Share Posted May 28, 2013 Thanks! I updated to 1.5.4.1 but now I only need to solve the max_vars_input issue to get this properly translated. But I found a good explanation for this! Link to comment Share on other sites More sharing options...
vekia Posted May 28, 2013 Share Posted May 28, 2013 so your issue is solved? max input vars error no longer appear for you? Link to comment Share on other sites More sharing options...
stkramer Posted May 28, 2013 Share Posted May 28, 2013 (edited) so your issue is solved? max input vars error no longer appear for you? I asked my hosting provider to adjust is, since I cannot locate the php.ini file. They haven't replied to my ticket yet, but I expect they will do within the next 24 hours. Edited May 28, 2013 by stkramer (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 28, 2013 Share Posted May 28, 2013 If they have any issues with increasing the limit, you can just have them increase it temporarily Alternatively, you can always translate it locally on a local host and copy the file to your live store. Link to comment Share on other sites More sharing options...
stkramer Posted May 30, 2013 Share Posted May 30, 2013 They say they changed it but I still get the error. Any thoughts? Link to comment Share on other sites More sharing options...
vekia Posted May 30, 2013 Share Posted May 30, 2013 you've got there (in communicate about error) information about max_input_vars value, have you got new value? or still the same? Link to comment Share on other sites More sharing options...
stkramer Posted May 30, 2013 Share Posted May 30, 2013 you've got there (in communicate about error) information about max_input_vars value, have you got new value? or still the same? Still the same (5000). It says I need 9722, so I made my hosting provider change it to 10000. Link to comment Share on other sites More sharing options...
stkramer Posted June 2, 2013 Share Posted June 2, 2013 Still doesn't work, but I now changed it directly in the language file, which worked perfect. Link to comment Share on other sites More sharing options...
Recommended Posts