bennyww Posted February 21, 2015 Share Posted February 21, 2015 I have an error on translations page after updating modules. I'm using version 1.6.0.11 Click on the title of a section to open its fieldsets. Expressions to translate 796 Total missing expressions 784 Some of these expressions use this special syntax: %d.You MUST use this syntax in your translations. Here are several examples "There are %d products": "%d" will be replaced by a number. "List of pages in %s": "%s" will be replaced by a string. "Feature: %1$s (%2$d values)": The numbers enable you to reorder the variables when necessary. What should I do with it? Can anyone help? Thanks. Link to comment Share on other sites More sharing options...
shacker Posted February 21, 2015 Share Posted February 21, 2015 yes, you need to translate the words and add the special chars like, for spanish There are %d products Hay %d productos where %d is the amount of products (a variable number) Link to comment Share on other sites More sharing options...
El Patron Posted February 21, 2015 Share Posted February 21, 2015 Please apply this 16011 hot fix.. https://github.com/PrestaShop/PrestaShop/commit/9e27137fc1f1d57d4da9fc3fc1a63bba23c9a422 see if you have issue. Link to comment Share on other sites More sharing options...
bennyww Posted February 22, 2015 Author Share Posted February 22, 2015 Thanks for quick reply. I replaced two files on - https://github.com/PrestaShop/PrestaShop/commit/9e27137fc1f1d57d4da9fc3fc1a63bba23c9a422#diff-00ca71f8ec3923fe4f1bb7a5f3efc7cd classes/Translate.php, and controllers/admin/AdminTranslationsController.php Now I get blank page for localization > translations Any advise? thanks. Link to comment Share on other sites More sharing options...
bennyww Posted February 22, 2015 Author Share Posted February 22, 2015 sorry my version is PrestaShop version: 1.6.0.6 Link to comment Share on other sites More sharing options...
El Patron Posted February 22, 2015 Share Posted February 22, 2015 sorry my version is PrestaShop version: 1.6.0.6 Hi, that fix was for 16011. Restore the files changed to get back to where you were. Link to comment Share on other sites More sharing options...
bennyww Posted February 22, 2015 Author Share Posted February 22, 2015 i just upgrade to I.6011, also replaced two files on - https://github.com/P...f1bb7a5f3efc7cd classes/Translate.php, and controllers/admin/AdminTranslationsController.php Now I still get blank page for localization > translations Any advise? thanks. Link to comment Share on other sites More sharing options...
shacker Posted February 23, 2015 Share Posted February 23, 2015 enable display errors, edit the config/defines.inc.php file and set display errors to on, and check the error instead of the white page Link to comment Share on other sites More sharing options...
bennyww Posted February 24, 2015 Author Share Posted February 24, 2015 Link to comment Share on other sites More sharing options...
bennyww Posted February 27, 2015 Author Share Posted February 27, 2015 can anyone help or advice? thanks in advance.. Link to comment Share on other sites More sharing options...
shacker Posted February 27, 2015 Share Posted February 27, 2015 upload again that file and try a diffrent method, binary/ascii Link to comment Share on other sites More sharing options...
bennyww Posted March 2, 2015 Author Share Posted March 2, 2015 same. can anyone help?? thanks in advance. Link to comment Share on other sites More sharing options...
shacker Posted March 2, 2015 Share Posted March 2, 2015 wich php version you use? Link to comment Share on other sites More sharing options...
bennyww Posted March 3, 2015 Author Share Posted March 3, 2015 i am using php version 5.4.34 any help? thanks. Link to comment Share on other sites More sharing options...
shacker Posted March 3, 2015 Share Posted March 3, 2015 try to set in host to php 5.3 to check if works Link to comment Share on other sites More sharing options...
bennyww Posted March 4, 2015 Author Share Posted March 4, 2015 the host dont allow roll back to older version. any other options? thanks. Link to comment Share on other sites More sharing options...
shacker Posted March 4, 2015 Share Posted March 4, 2015 upload the file AdminTranslationsController.php but from the ps version 1.6.0.13 Link to comment Share on other sites More sharing options...
bennyww Posted March 5, 2015 Author Share Posted March 5, 2015 i uploaded only the file AdminTranslationsController.php for version 1.6.013 but the error still shown in localization > translations. any advise? thanks. Link to comment Share on other sites More sharing options...
shacker Posted March 10, 2015 Share Posted March 10, 2015 ok, try to upload the entire admin folder and rename with other name, check if works when you upload use pasive mode? try with both modes when upload the file Link to comment Share on other sites More sharing options...
bennyww Posted March 11, 2015 Author Share Posted March 11, 2015 yes done everything accordingly but the error still there. Some of these expressions use this special syntax: %d.You MUST use this syntax in your translations. Here are several examples "There are %d products": "%d" will be replaced by a number. "List of pages in %s": "%s" will be replaced by a string. "Feature: %1$s (%2$d values)": The numbers enable you to reorder the variables when necessary. any advise? thanks. Link to comment Share on other sites More sharing options...
rocky Posted March 11, 2015 Share Posted March 11, 2015 It's not an error message. It's an information message with instructions on how to enter translations properly. You can safely ignore it once you understand the instructions. 1 Link to comment Share on other sites More sharing options...
bennyww Posted March 13, 2015 Author Share Posted March 13, 2015 so i can just click 'close fieldset' button and save it? no other additional action required? kindly advise? thanks. Link to comment Share on other sites More sharing options...
rocky Posted March 13, 2015 Share Posted March 13, 2015 Yes, just click "Save" and it will save any translations you have modified. Link to comment Share on other sites More sharing options...
bennyww Posted March 17, 2015 Author Share Posted March 17, 2015 thanks alot. Link to comment Share on other sites More sharing options...
bennyww Posted March 17, 2015 Author Share Posted March 17, 2015 but how come the notice appears everytime on top of translation page even i save it? Link to comment Share on other sites More sharing options...
rocky Posted March 17, 2015 Share Posted March 17, 2015 PrestaShop thought it was important enough instructions that it should always be displayed, so even if you save translations halfway between finishing your translations, you'll still see the information. Link to comment Share on other sites More sharing options...
Cgo1 Posted October 18, 2016 Share Posted October 18, 2016 Hello, can anybody help me please? Im using prestashop 1.6.0.6 and 2 years ago I translated all messages. Now I want to edit some of the and no messages are for translation, there are 0 / 0 items... What should be the problem please? Thanks Link to comment Share on other sites More sharing options...
shacker Posted November 5, 2016 Share Posted November 5, 2016 do you translate modules, themes? Link to comment Share on other sites More sharing options...
Cgo1 Posted November 5, 2016 Share Posted November 5, 2016 Yes, I translated all front office messages, emails, everything and it works well. But if I want to edit some of my messages, translated sentences, there is no possibility to do that. If I remember well, I had 2 options in "select your theme" but now there is only "default bootstrap". Thank You Link to comment Share on other sites More sharing options...
Cgo1 Posted December 7, 2016 Share Posted December 7, 2016 Nobody can help me please? 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