Fábio Dexus Posted March 27, 2011 Share Posted March 27, 2011 I'm trying to translate a package and when i go to the e-mail translations, every time i save the translation doesn't take effect.It just don't save.Anyone having the same problem? Link to comment Share on other sites More sharing options...
shokinro Posted March 27, 2011 Share Posted March 27, 2011 most cases of this issue is because of permission setting.please check if your email folder and its files has write permission.YourSiteRoot/mails/enYourSiteRoot/mails/frPermissions for folder: 755 for file: 644 Link to comment Share on other sites More sharing options...
Pscouto Posted March 31, 2011 Share Posted March 31, 2011 Hi! I´m with a similar problem, but in my case when i press the update button it simple erases all the templates.For example i go to back office > tools > translationsthen i select email template translationand click on the language flag ( any language)on any template if i put a simple black space and press update it erases all the templates...errrrrr!!!Any idea??Thanks! Link to comment Share on other sites More sharing options...
whitish Posted April 3, 2011 Share Posted April 3, 2011 The same freaking issue. Link to comment Share on other sites More sharing options...
Thomas Robert Posted April 5, 2011 Share Posted April 5, 2011 Translators in the future will be allowed to subscribe to changes in a given POT file as well as in the actual PO, with translation changes and additions coming from different translators. --------------------------Thomas Link to comment Share on other sites More sharing options...
Fábio Dexus Posted April 6, 2011 Author Share Posted April 6, 2011 Sorry for the late reply.I got another project and put PS in second planePut 777 in all folder didn't help, i'll see if i can find a solution during next week.If i find i'll let you guys know Link to comment Share on other sites More sharing options...
metska Posted April 7, 2011 Share Posted April 7, 2011 Yes, same problem. I can't update email templates from backoffice, everything comes to "blanc" if I try to save changes. I have version PrestaShop™ 1.4.0.17. Link to comment Share on other sites More sharing options...
Pscouto Posted April 12, 2011 Share Posted April 12, 2011 Hello, still no solution to this problem, anyone?? Stuck in this... Link to comment Share on other sites More sharing options...
Fábio Dexus Posted April 18, 2011 Author Share Posted April 18, 2011 I see for instance the welcome message in the core.If i put some content it doesn't change, i looked some codes and saw that it was indeed getting to the destination, if i changed the e-mail content everything was ok, but subjects was bogus.I saw that it was saved in mails/LANG_ISO/lang.php and then i saw the welcome message for instance, it was like:' \'Welcome!\'' if i look in the french file it was like: Welcome! (without the space and the ')The ' is what made it bogus, i didn't know if it was when i save or when the content was retrieved, anyway the bug seems to apply only to subjects.I guess that the bug is in the retrieving of the array or in the saving names with spaces or '. Link to comment Share on other sites More sharing options...
Fábio Dexus Posted April 18, 2011 Author Share Posted April 18, 2011 OK the error is in the quotes, just made some changes and could retrieve the data, I will see if i can make a working example soon. I have to see the save action, the retrieve and the send to e-mail action first. Link to comment Share on other sites More sharing options...
Fábio Dexus Posted April 18, 2011 Author Share Posted April 18, 2011 I submited a bug report and made some solutions.the files i'm posting solves part of the issues, it will save and retrieve data in the admin.There seems to be a bug in the counting and i didn't test the actual send e-mail actionThe Mail.php goes in the classes dir, the AdminTranslations.php goes in BACKOFFICE_DIR/tabs Mail.php AdminTranslations.php Link to comment Share on other sites More sharing options...
shokinro Posted April 18, 2011 Share Posted April 18, 2011 thanks for sharing, hope this will help someone else too. Link to comment Share on other sites More sharing options...
Fábio Dexus Posted April 19, 2011 Author Share Posted April 19, 2011 Made one change in mail (line 216) Mail.php Link to comment Share on other sites More sharing options...
whitish Posted April 21, 2011 Share Posted April 21, 2011 doesn't work for me either Link to comment Share on other sites More sharing options...
SerNeo Posted May 13, 2011 Share Posted May 13, 2011 Yes, same problem. I can’t update email templates from backoffice, everything comes to “blanc” if I try to save changes. I have version PrestaShop™ 1.4.0.17. I have the same problem and i tried to change permissions to folder /mails/en/ - 755 (and 777) and files 644and I've noticed that after I update email translation from Back Office all files become 777 and all empty.Need help with this bug.P.S. PrestaShop™ 1.4.0.17. Link to comment Share on other sites More sharing options...
SerNeo Posted May 13, 2011 Share Posted May 13, 2011 Update:I have solved this problem by adding in my root folder the php.ini and set:register_globals = Offmagic_quotes_gpc = Off Link to comment Share on other sites More sharing options...
Asenar Posted May 13, 2011 Share Posted May 13, 2011 Hi, this problem has been fixed in version 1.4.1 and above.To fix it without upgrading, you can use the following fix :in file admin/tabs/AdminTranslations.phpgo line 647, find $content = array_map('stripslashes', $content); replace by $content = stripslashes($content); There is other fix about email titles, you can use the file from the 1.4.1 archiveDon't hesitate if you have other questions (pm me if I don't answer the day you posted, sometimes I forgot ) Link to comment Share on other sites More sharing options...
shokinro Posted May 13, 2011 Share Posted May 13, 2011 good to know it is fixed in 1.4.1 and thanks for sharing. Link to comment Share on other sites More sharing options...
Pimli Posted May 21, 2011 Share Posted May 21, 2011 Hmm. I have exactly this problems. And I have PS 1.4.1. Don't know what to do, I'm getting holloweyed and so on... Link to comment Share on other sites More sharing options...
Asenar Posted May 21, 2011 Share Posted May 21, 2011 Hi Pimli, are you sure to have the last version of the file in your admin directory ? If you still have the problem, please send me a private message (use the button "PM") with your access to allow me to do some test.Regards,Michaël Link to comment Share on other sites More sharing options...
Pollosurfero Posted May 23, 2011 Share Posted May 23, 2011 Hello,I have version 1.4.1 and I have the same problemon line 624 i get this: $module_name = false;And in line 647: $content = stripslashes($content)Is the latest file version?? Link to comment Share on other sites More sharing options...
Asenar Posted May 23, 2011 Share Posted May 23, 2011 sorry it's line 647, you're right : // Magic Quotes shall... not.. PASS! if (_PS_MAGIC_QUOTES_GPC_) $content = stripslashes($content); Can you please make a screencast (you can create a new bug in http://forge.prestashop.com and click on "create screencast" ) and also give me more details about your configuration ? (which version of php? do you have magic quotes enabled ? which language ? ) Link to comment Share on other sites More sharing options...
Pollosurfero Posted May 24, 2011 Share Posted May 24, 2011 sorry, I did the right question ....Version 1.4 and had to touch the templates I deleted all mail.I installed the version 1.4.1 and my question is:This version has fixed this bug? not dare to touch me and I will do the same ....I have installed Mamp and language is Spanish Link to comment Share on other sites More sharing options...
Asenar Posted May 24, 2011 Share Posted May 24, 2011 I said yes this is fixed in 1.4.1, but Pimli said it wasn't fixed, so I m waiting a way to reproduce it... If I can't reproduce the bug, ... 1 Link to comment Share on other sites More sharing options...
Pollosurfero Posted May 24, 2011 Share Posted May 24, 2011 I enter into the templates and some are empty.in other places it has not been found theme for ....I dare not play and lose all my work, please advise if you find the solution. Link to comment Share on other sites More sharing options...
Pollosurfero Posted May 24, 2011 Share Posted May 24, 2011 Other Link to comment Share on other sites More sharing options...
BobReus Posted June 19, 2011 Share Posted June 19, 2011 Hi All,The issue even remains for version 1.4.3.Any solution in the planning? Link to comment Share on other sites More sharing options...
Asenar Posted July 1, 2011 Share Posted July 1, 2011 Can you give me the revision number of the file AdminTranslation.php located in your admin/tabs directory (Line 23) ? Link to comment Share on other sites More sharing options...
Q000 Posted April 26, 2012 Share Posted April 26, 2012 I said yes this is fixed in 1.4.1, but Pimli said it wasn't fixed, so I m waiting a way to reproduce it... If I can't reproduce the bug, ... Michael is right ... in PrestaShop™ 1.4.6.2 is solved, i reproduced the "bug" but was about chmod, fixed with chmod 777 for /public_html/mails/en/*.html and *.txt files. Link to comment Share on other sites More sharing options...
sting5 Posted August 8, 2012 Share Posted August 8, 2012 I also want to report one bug: after moving my prestashop to another host, I no longer can edit email templates, but it works in a very strange way: I can only edit default english language, other additionaly added languages (for example Latvian) isn't working - after pressing "edit template" button, back office page goes to the top and the email template editor doesn't turn on, hence the email HTML template dissapears (txt stays). Any ideas what's might be happening? I've tried editing the permissions to 755 but that didn't help at all... Link to comment Share on other sites More sharing options...
peterdk Posted September 15, 2012 Share Posted September 15, 2012 Michael is right ... in PrestaShop™ 1.4.6.2 is solved, i reproduced the "bug" but was about chmod, fixed with chmod 777 for /public_html/mails/en/*.html and *.txt files. I am running prestashop v. 1.4.9.0 and i still get these problems, even that i did the cmod on the files and folders as told above. Anyone got an solution for this problem ? Thank you for a good shopsystem. Best regards Peter Link to comment Share on other sites More sharing options...
peterdk Posted September 18, 2012 Share Posted September 18, 2012 Dear prestashoppere... Is there someone out there who can help me with this problem. I really like prestashop and have already buyed some addons for the shop, but i would really like to keep this shop system, and i still cant get this to work. Thx in advance Link to comment Share on other sites More sharing options...
knowing Posted February 17, 2014 Share Posted February 17, 2014 (edited) What is the solution of this bug? I have same problem. When translating in back office, email templates goes blank. When translating in Notepad++ html and .txt and then sending it to all files. In servers shows like everything is OK, but when email is sent to customer- it is not translated. Edited February 17, 2014 by knowing (see edit history) 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