Telesight Posted June 12, 2012 Share Posted June 12, 2012 (edited) When I try to save translations with the button "Update translations and stay" in the backend for the PDF translations I get an empty screen and nothing happens. This happens only with the PDF translations and with different languages. Any idea? Prestashop Version 1.5.0.13 Edited June 19, 2012 by Telesight (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 12, 2012 Share Posted June 12, 2012 Hi Telesight, In your config/config.inc.php file, can you please set "display_errors" to "on" and then try this again to let me know what (if any) error messages you receive? -Mike Link to comment Share on other sites More sharing options...
Telesight Posted June 12, 2012 Author Share Posted June 12, 2012 (edited) Warning: fopen(/home/vhosts/domain.nl/httpdocs/prestashop/themes/default/pdf/lang/nl.php) [function.fopen]: failed to open stream: No such file or directory in /home/vhosts/domain.nl/httpdocs/prestashop/controllers/admin/AdminTranslationsController.php on line 270 Warning: Cannot modify header information - headers already sent by (output started at /home/vhosts/domain.nl/httpdocs/prestashop/controllers/admin/AdminTranslationsController.php:270) in /home/vhosts/domain.nl/httpdocs/prestashop/classes/exception/PrestaShopException.php on line 90 Edited June 12, 2012 by Telesight (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 12, 2012 Share Posted June 12, 2012 Hi Telesight, For the first error message, please see the suggestion posted by one of our developers here and let me know if that works for you. -Mike Link to comment Share on other sites More sharing options...
Telesight Posted June 13, 2012 Author Share Posted June 13, 2012 @Mike I took an official translation package for version 1.5 and imported it. But even with that one I get the same fault. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 13, 2012 Share Posted June 13, 2012 @Mike I took an official translation package for version 1.5 and imported it. But even with that one I get the same fault. Have you tried editing the translations manually through your /translations directory? -Mike Link to comment Share on other sites More sharing options...
Telesight Posted June 13, 2012 Author Share Posted June 13, 2012 @Mike I have done a lot with the translations, and I guess also changing things manually ... Link to comment Share on other sites More sharing options...
Engineer Posted June 18, 2012 Share Posted June 18, 2012 Hi Mike, Translation not saved. Where it might be a problem. When I write the translation field and save it, translation don't save anymore?? Before it works fine..I am using prestashop version 1.4.6.2 at the moment. Link to comment Share on other sites More sharing options...
Telesight Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) @Engineer Just a detail; this is a version 1.5 forum part, questions about earlier versions can be put in the normal forum parts. Are the pdf translations partly filled when you add a new translation, or are the pdf translation fields all empty when you add a new translation and try to save it? "Before it works fine. " When is before ? Edited June 19, 2012 by Telesight (see edit history) Link to comment Share on other sites More sharing options...
kemuel Posted June 23, 2012 Share Posted June 23, 2012 I have the same problem (1.5.0.13) I tried to add the Danish Language to prestashop. Afterwards I would try to update the missing translations. translations/da/pdf.php actually has a complete translation. But it is somehow not loaded into prestashop. And if I try to manually update the translation via the admin-interface the translations already there will be deleted and replaced with an empty "pdf.php" I tried to do a fresh install and the problem persists. I even tried downloading from SVN (1.5.0.14) and here I have the same problem. However the two above warnings I don't have.. Actually I get no warning messages at all.. And prestashop claims it successfully saved the translation. Link to comment Share on other sites More sharing options...
Fabio Pittol Posted June 28, 2012 Share Posted June 28, 2012 Any news about it? I'm trying to create a Brazilian Portuguese Back Office translation while I wait for 1.5 Final. But I'm having a similar problem as these guys up here. Everytime I try to edit it via Back Office interface, it says the changes were successfully saved, but some fieldsets don't save anything. And it clears everything I did. Aparently when I edit the br/admin.php file it works, but I can't find a full list of strings there as I find throught the interface. Link to comment Share on other sites More sharing options...
Telesight Posted June 28, 2012 Author Share Posted June 28, 2012 I reported a bug for this fault: http://forge.prestashop.com/browse/PSCFV-2964 It is a showstopper, you can not use the translation system in your Prestashop backend with this fault. Link to comment Share on other sites More sharing options...
kemuel Posted June 28, 2012 Share Posted June 28, 2012 (edited) @Fabio - Maybe there is a solution to some of your trouble.. In the beginning I had your problem too.. Not all fields were saved when I translated the modules. Solution to that was to change my server setup. I did step 1 to 5 of the solution described here: http://www.prestasho...post__p__784471 and it made it possible to edit the modules tanslation. So now I have the modules and the front-end translated. email-translation does not work in the interface either but I got it to work by translating them manually. But the PDF-translations still does not work. Even if I add the entire translation manually in /translatios/da/pdf.php the thanslation is not loaded into prestashop. Now you may not be able to change your server setup. But you managed to translate manually by editing admin.php. Here are a list of files that you should translate If you would like to do it manually. However the untranslated strings are not in those files so you would need to copy them from a language that has a complete translation. In /translations/br/ you should have the folowing files translated: admin.php errors.php pdf.php fields.php In /mails/br/ All the html and txt files needs to be translated (there´s a lot of them) In /modules/[modulename]/translations or in /modules/[modulename]/ br.php In /modules/[modulename]/mails/br (if a "mail" directory exists in the module) Translate the html and txt files In /themes/[themename]/lang/ br.php When all that is translated you should have a complete translation. But that is a lot of work. Edited June 28, 2012 by kemuel (see edit history) 1 Link to comment Share on other sites More sharing options...
Fabio Pittol Posted June 28, 2012 Share Posted June 28, 2012 Thanks man! What was bugging me was I couldn't find the translations of the Back Office menu. Now, unintentionally, I found them at Administration > Tabs lol Link to comment Share on other sites More sharing options...
hitri Posted October 31, 2012 Share Posted October 31, 2012 I have the same problem with 1.5.2 When I save translation I get an error (just for PDF translation): 500 Internal Server Error -------------------------------------------------------------------------------- nginx/1.1.19 Link to comment Share on other sites More sharing options...
Daniel - PrestaBR Posted November 7, 2012 Share Posted November 7, 2012 Any luck in this issue? That's my only problem right now. Thanks DGV Link to comment Share on other sites More sharing options...
MacRoy Posted November 8, 2012 Share Posted November 8, 2012 I have the same problem. Have tried most things but nothing works. This problem must surely be for all who installed 1.5.2! How long it usually takes before they release a fix for this? Link to comment Share on other sites More sharing options...
solarm Posted November 26, 2012 Share Posted November 26, 2012 This solution has solved my problem : http://forge.prestashop.com/browse/PSCFV-5726 i.e. overwrite file controllers/admin/AdminTranslationsController.php Link to comment Share on other sites More sharing options...
Recommended Posts