midana Posted May 18, 2014 Share Posted May 18, 2014 Some changes in the translation of some modules won't show up on a website. In the local installation it shows up, but when I upload the files to the modules translation directory on the server it won't show up on the site. Anyone know what could cause this? (I cleared cache, and don't have it on) Link to comment Share on other sites More sharing options...
walidon Posted May 18, 2014 Share Posted May 18, 2014 (edited) how do you proceed for translating? to have the correct way, follow this: 1. localization > translations tab 2. from the dropdown menu you select "translate installed modules. 3. select your theme 4. select the flag of the language you want to translate! Edited May 18, 2014 by walidon (see edit history) Link to comment Share on other sites More sharing options...
midana Posted May 18, 2014 Author Share Posted May 18, 2014 I have translated a lot before and they show up, but this issue only occurs on specific modules. I translate on a local installation of prestashop that has the same version as the one on my server (my server won't allow opening those files through admin so I do it on an XAMPP installation of PS). Then I move the translation files to their directories. Example: module/modulename/translations/ Link to comment Share on other sites More sharing options...
walidon Posted May 18, 2014 Share Posted May 18, 2014 (my server won't allow opening those files through admin so I do it on an XAMPP installation of PS). do you know why your server doesn't allow you to open those files? Link to comment Share on other sites More sharing options...
midana Posted May 18, 2014 Author Share Posted May 18, 2014 It's the usual "Warning! Your PHP configuration limits the maximum number of fields allowed in a form 1000 for max_input_vars. Please ask your hosting provider to increase the this limit to 1441 at least or edit the translation file manually." And they won't let users go above what they have set, and on a local server of my own I can go above that limit. Link to comment Share on other sites More sharing options...
walidon Posted May 18, 2014 Share Posted May 18, 2014 that means you have to increase the max_input in your php.ini file add the following max_input_vars = 4000 and see the changes Link to comment Share on other sites More sharing options...
midana Posted May 18, 2014 Author Share Posted May 18, 2014 Thank you, but what I meant with my post is that I already know this and my host won't allow it - so I use another solution for translating. Link to comment Share on other sites More sharing options...
walidon Posted May 18, 2014 Share Posted May 18, 2014 have you tried to create your own php.ini or add that value to the .htaccess that you have? by the way, and if u don't mind, who is ur host? Link to comment Share on other sites More sharing options...
midana Posted May 18, 2014 Author Share Posted May 18, 2014 I'm sorry, but this was not what I asked about, I already have a solution for the php.ini thing. I thank you for your time though. Link to comment Share on other sites More sharing options...
walidon Posted May 18, 2014 Share Posted May 18, 2014 Sorry Midana for that. Sometimes the cause an solutions maybe found elsewhere... we follow the steps in the hope to find the solution which may be easier than we think. All the best for the rest and happy selling. Link to comment Share on other sites More sharing options...
vekia Posted May 18, 2014 Share Posted May 18, 2014 i will be honest im reading this topic and i still don't know what you asking for. you said that you see: It's the usual "Warning! Your PHP configuration limits the maximum number of fields allowed in a form 1000 for max_input_vars. Please ask your hosting provider to increase the this limit to 1441 at least or edit the translation file manually." And they won't let users go above what they have set, and on a local server of my own I can go above that limit. it just means that you still have got this limitation related to max_input_vars as long as you will not increase this limit, you will see this message. even if you copy translated files from localhost. Link to comment Share on other sites More sharing options...
midana Posted May 18, 2014 Author Share Posted May 18, 2014 (edited) I guess I was unclear so I will try again.Th php ini problem is not an issue for me. I only mentioned it because this was asked "do you know why your server doesn't allow you to open those files?" And I answered that the server won't allow me to open those files because of the max_input_vars. I've asked the host before about this and they won't allow changing this. So I went with doing translations on a local server, and then moving those files to the hosts server. Which has been working like a charm. So I won't need assistance with this part.However, my issue is: on this website I'm working on now I've run into minor issues, as I mention in my question - that some modules' translations won't show up. For example the sidebar's box for Manufacturers: The title of it won't change and the text beneath it won't change either. So even though it's been translated in the files and shows up on the local front office - it won't show up on the hosted websites front office. Edited May 18, 2014 by midana (see edit history) Link to comment Share on other sites More sharing options...
midana Posted May 18, 2014 Author Share Posted May 18, 2014 (edited) - Edited May 18, 2014 by midana (see edit history) Link to comment Share on other sites More sharing options...
midana Posted May 18, 2014 Author Share Posted May 18, 2014 I just solved it. In the modules that had translations not showing I had the swedish translation file named into SV.php (with caps) while the core one is sv.php, so it didn't know I was trying to override it before I changed SV.php to sv.php in the module translation directory for my theme. 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