Jump to content

Some changes in translation won't show


Recommended Posts

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

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 by walidon (see edit history)
Link to comment
Share on other sites

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

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

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

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

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 by midana (see edit history)
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...