MathewB Posted June 5, 2012 Share Posted June 5, 2012 Hi, Iam trying to change the language of the paypal module which I believe should be no problem. I have gone into the back office – tools - translations - Modify translations – Module Translations (drop down box) – then select the flag for the appropriate language you wish to change. I make the changes but they don’t seem to stay even after being told they have been changed. I should point out I have only tried to change a couple of lines just to test it. It must be a really simple thing Iam missing can anyone help? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Hi Mathew, Have you tried clearing your browser's cache? -Mike Link to comment Share on other sites More sharing options...
MathewB Posted June 5, 2012 Author Share Posted June 5, 2012 Hi Mike, Yep tried that. Whats interesting is when I go back to look at my changes they are no there? Very Odd Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Hi Mike, Yep tried that. Whats interesting is when I go back to look at my changes they are no there? Very Odd Have you checked the permissions of your /translations directory over FTP? If you don't have the proper permissions, you won't be able to implement your changes. -Mike Link to comment Share on other sites More sharing options...
MathewB Posted June 5, 2012 Author Share Posted June 5, 2012 Iam guess I do as I can add products. However how do I make sure? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Iam guess I do as I can add products. However how do I make sure? Permissions can differ in different areas of your site. You can check it over FTP by right-clicking on your /translations directory and selecting "File permissions." -Mike Link to comment Share on other sites More sharing options...
MathewB Posted June 5, 2012 Author Share Posted June 5, 2012 (edited) Ok 755 Owner Permission Read (ok) Write (ok) Execute (ok) Group Permissions Read (ok) Write (NO) Execute (ok) Public Permissions Read (ok) Write (NO) Execute (ok) Should this be ok? Edited June 5, 2012 by MathewB (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Any Good? I'm not sure what you mean by this. Could you please be a little more descriptive? -Mike Link to comment Share on other sites More sharing options...
MathewB Posted June 5, 2012 Author Share Posted June 5, 2012 Ok 755 Owner Permission Read (ok) Write (ok) Execute (ok) Group Permissions Read (ok) Write (NO) Execute (ok) Public Permissions Read (ok) Write (NO) Execute (ok) Should this be ok? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Ok 755 Owner Permission Read (ok) Write (ok) Execute (ok) Group Permissions Read (ok) Write (NO) Execute (ok) Public Permissions Read (ok) Write (NO) Execute (ok) Should this be ok? Are those permissions recursive into subdirectories? -Mike Link to comment Share on other sites More sharing options...
MathewB Posted June 5, 2012 Author Share Posted June 5, 2012 Yes Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Yes In that case, please try the suggestion posted here and let me know if that works for you. -Mike Link to comment Share on other sites More sharing options...
MathewB Posted June 5, 2012 Author Share Posted June 5, 2012 Gave it a try just went to try translating and got the following Total expressions : 1538. Click the fieldset title to expand or close the fieldset.. Warning, your hosting provider limits the maximum number of fields to post in a form: 1000 for max_input_vars Please ask your hosting provider to increase the suhosin post and request limit to 1638 at least. or edit the translation file manually. Can I do this? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Gave it a try just went to try translating and got the following Can I do this? You'll have to contact your hosting provider and request what is listed in that message, as you will otherwise be unable to save all of your work. Alternatively, you could always do the translations manually in the individual files of that /translations directory. -Mike Link to comment Share on other sites More sharing options...
MathewB Posted June 5, 2012 Author Share Posted June 5, 2012 (edited) Well I had to add the following to the ini.php folder max_input_vars = 3000 suhosin.post.max_vars = 3000 suhosin.request.max_vars = 3000 But it now works - Only 1 small problem once you make a change if you want to remove it you HAVE to put something in its place. (the translation that is) Edited June 5, 2012 by MathewB (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 6, 2012 Share Posted June 6, 2012 Great, I'm glad you were able to resolve this! I'll go ahead and mark this thread as solved for you. Happy selling! -Mike Link to comment Share on other sites More sharing options...
cyberdreams Posted July 4, 2012 Share Posted July 4, 2012 I tried this fix and the one described in the links, but to no avail... Any pointers? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 5, 2012 Share Posted July 5, 2012 Hi cyberdreams, Who is your hosting provider? -Mike Link to comment Share on other sites More sharing options...
cyberdreams Posted July 5, 2012 Share Posted July 5, 2012 I'm on a dedicated server running on apache and running PHP version 5.3.10. I had to up the max_input_vars to around 3000, and at first, it saved some modifications I made. But then it stopped working completely. The translation page shows up, the fields are there, i can make modifications, but even if i click update and get a message saying it was successful, when I look back to make sure everything was saved, the modifications have not been applied. The server is NOT using suhosin. I tried all the above mentioned fixes, with no success (including setting proper permissions to the /translations folder and its subfolders) Most of the translation had successfully been done while I was working on my localhost. Is there any way to either edit the translation manually (if so, detailed step-by-step?) or to export the translation to my localhost, translate it there and import it back online? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 5, 2012 Share Posted July 5, 2012 I'm on a dedicated server running on apache and running PHP version 5.3.10. I had to up the max_input_vars to around 3000, and at first, it saved some modifications I made. But then it stopped working completely. The translation page shows up, the fields are there, i can make modifications, but even if i click update and get a message saying it was successful, when I look back to make sure everything was saved, the modifications have not been applied. The server is NOT using suhosin. I tried all the above mentioned fixes, with no success (including setting proper permissions to the /translations folder and its subfolders) Most of the translation had successfully been done while I was working on my localhost. Is there any way to either edit the translation manually (if so, detailed step-by-step?) or to export the translation to my localhost, translate it there and import it back online? Yes, you can manually edit your translations through the files in your site's /translations directory. -Mike Link to comment Share on other sites More sharing options...
cyberdreams Posted July 5, 2012 Share Posted July 5, 2012 So i've read, but these files don't look like they include module translations...? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 5, 2012 Share Posted July 5, 2012 So i've read, but these files don't look like they include module translations...? Ah yes, modules can be translated within their individual directories. The various language files will be en.php, es.php, fr.php, etc. You can make the changes in there for each module. -Mike Link to comment Share on other sites More sharing options...
mux Posted July 10, 2012 Share Posted July 10, 2012 Ah yes, modules can be translated within their individual directories. The various language files will be en.php, es.php, fr.php, etc. You can make the changes in there for each module. -Mike Hi mike, Can you please give an example???? Link to comment Share on other sites More sharing options...
mux Posted July 10, 2012 Share Posted July 10, 2012 Hi All... My problem is solved. Thanks to all of you. Support from all resolved my problems. Thanks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 10, 2012 Share Posted July 10, 2012 Great, I'm glad you were able to resolve this! Happy selling! -Mike Link to comment Share on other sites More sharing options...
aimilios Posted July 19, 2012 Share Posted July 19, 2012 (edited) Hello, i have a problem when i add my language. At the frontpage i see it correclty but when i see the page source i see them like this ->Αρχικ any suggestions for what is going wrong? Edited July 19, 2012 by aimilios (see edit history) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 19, 2012 Share Posted July 19, 2012 Hi aimilios, Is the error only in the source code? And what language is it that is causing you these issues? -Mike Link to comment Share on other sites More sharing options...
aimilios Posted July 19, 2012 Share Posted July 19, 2012 its greek language pack, and sometimes these character show and at the front. Now i have problem with the name of comments tab and with the name of shipping at the cart (but only at the front page). Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 19, 2012 Share Posted July 19, 2012 Hi aimilios, Per the rules of the PrestaShop forums, please post only one issue per thread. If the strange characters only show up in the source code, that is not a concern, as that is merely the code compensating for a language with different encoding. PrestaShop's encoding is UTF-8, so some languages with their own character sets may not look right in the code of the site itself, although it will still display properly. Can you please post a link to where it looks strange on your Front Office? -Mike Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 19, 2012 Share Posted July 19, 2012 Hi aimilios, Thank you for PMing me a link to your site. However, from what I see so far, all the text looks correct. Is there a specific place on your site I should be looking to see this error? -Mike Link to comment Share on other sites More sharing options...
aimilios Posted July 19, 2012 Share Posted July 19, 2012 Thank you very much Mike for your support, i hope you understand why i can't post my link to the forum and send you pm. If when i finish the site have still problem with this i will post the link so you can help me if you can. Have a nice day Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 19, 2012 Share Posted July 19, 2012 Hi aimilios, I can understand why you do not want to post your link publicly, but you can still discuss your issue here without the link now that I have it. This forum is a community resource for more than 350,000 users around the world, so any thread we can resolve will be a new resource for future users with the same issue. However, in order for that to work, the information on the specific issue (even without a link) must be available for comparison purposes. If you would like to provide some more information here, I will be happy to continue to assist you. -Mike Link to comment Share on other sites More sharing options...
aimilios Posted July 19, 2012 Share Posted July 19, 2012 Hi Mike, i found the solution in the Greek forum i try it and it works, and i am pasting it here for everyone who has this problem. The solution is to go at config/smarty.config.inc.php add edit the line 95 ->if (!isset($params['js'])) $params['js'] = 0; and set to 1 -> if (!isset($params['js'])) $params['js'] = 1; Now my characters at the page source are show correctly. Do you believe that this solution is correct? Thanks for your support. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted July 19, 2012 Share Posted July 19, 2012 Great, I'm glad you were able to resolve this! Happy selling! -Mike Link to comment Share on other sites More sharing options...
HASMAN Posted September 15, 2012 Share Posted September 15, 2012 Hi, I have the same problem. Prestashop 1.5 installed onmy localcomputer (localhost) using XMAPP. I tried to make somechanges in translations but iam getting this message Warning, your PHP configuration limits the maximum number of fields to post in a form: 1000 for max_input_vars. Please ask your hosting provider to increase the this limit to 1255 at least or edit the translation file manually. I copied the three code lines mentioned above and pasted it in ini.php but nothing changed. I am wandering why there is ristriction like that. Any advice about how to solve it. I want to modify the translations via back office Link to comment Share on other sites More sharing options...
Alexandra-Ionela Posted October 22, 2015 Share Posted October 22, 2015 Hello! I try to manually translate my store based on PrestaShop 1.6.1.1. I went in store back office / Localization / Translations / Export a language. I saved the files "ro.gzip" on my desktop to try translate the store's files manually. I realized that the zip archive is twice archived, once in ".gzip" and a second time in an unknown format (Type of file: File). I unzipped this (.File) archive and only then popped up the folders with translations of the store. I translated some of the files but the problem arises when I try to archive the folders again. Could you please help me? What kind of archives is the .file archive and how can I archive the files correctly again to upload them into the site? Thank you! 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