antba Posted February 9, 2015 Share Posted February 9, 2015 Hello, I only have Italian on my Prestashop 1.6. I translated weeks ago missing fields of emails (/mails/it/) and mailalerts module (/modules/mailalerts/mails/it/). Until yesterday I had Italian subjects on all emails. Today some of the automatic emails have subject back in English! I checked file /mails/it/lang.php and it shows some of missing translations. For example $_LANGMAIL['New order : #%d - %s'] = 'Nuovo ordine: #%d - %s'; But I still receive confirm order email with subject in English. When I access email translations page in BO, instead of subject field, I get a message that says (Nessun soggetto è stato trovato per new_order, o il soggetto è generato nel database) "No subject found for new_order, or subject is generated by database". So I cannot change subject there. Some emails show this field, some do not. How should I manage? I found a solution on another forum: it suggest to modify /controllers/admin/AdminTranslationsController.php but I cannot find same lines as showed. Hope someone can help! Many thanks, Barbara Link to comment Share on other sites More sharing options...
tuk66 Posted February 9, 2015 Share Posted February 9, 2015 Try to use this file from v1.6.0.11 or GitHub. It should work smoothly, but backup the old file first. Link to comment Share on other sites More sharing options...
antba Posted February 9, 2015 Author Share Posted February 9, 2015 Sorry, which file? Link to comment Share on other sites More sharing options...
tuk66 Posted February 9, 2015 Share Posted February 9, 2015 /controllers/admin/AdminTranslationsController.php Link to comment Share on other sites More sharing options...
antba Posted February 9, 2015 Author Share Posted February 9, 2015 Working! Many many thanks Link to comment Share on other sites More sharing options...
antba Posted February 9, 2015 Author Share Posted February 9, 2015 Hmmmm not all working. Mailalerts objects show, while missing core email object fields still do not show. Link to comment Share on other sites More sharing options...
antba Posted February 9, 2015 Author Share Posted February 9, 2015 Hello, I had to replace back up file as emails links were not working any more after AdminTranslationsController.php change. Besides in BO html mail was showing in a 2 lines box, code only! Now subject fields do not show again. Any other idea, please? Barbara Link to comment Share on other sites More sharing options...
antba Posted February 12, 2015 Author Share Posted February 12, 2015 Subject at times shows in English at times in Italian. Subject fields dont show any more in BO. It took me many hours to restore emails correct links lost in file change and not replaced after old file back Link to comment Share on other sites More sharing options...
Recommended Posts