Jump to content

Adding new language doesn't appear at languages list


Recommended Posts

Hi everyone!

First of all, PrestaShop is what I really wanted. Thank You Develeopers!

My problem is, that adding new language doesn't appear at languages list.

I do everything as wiki says, first, I have to create a new language.
I've created a flag, named 22.jpg, and put into /img/l/ directory.
I've created hu.jpg (250px*250px) as no picture available, and put into /img/c/ directory.

And than go to Back Office>Tools>Languages
and click Add new. And Name it as Hungarian, hu is the ISO code, and browse for the file mentioned above.
And save, and nothing happens.
The list doesn'comes back, I have to refresh, but there is no Hungarian on the list, so I cannot go further.

What's wrong?


I'm using AppServe at localhost, everythiung works fine. (WinXP Pro, EN, etc.)
As far as I know it cannot be a permission problem, at Windows as admin I have all the rights to do everything. And all files has "chmod 777". :)

Any idea?


Szabolcs

Link to comment
Share on other sites

Hi Szabolcs,

Don't upload the images to their respective language folders (@/img/l/@ and @/img/c/@); instead, please use the "Browse" fields in Back Office >> Tools >> Languages >> Add new form to upload the flag and no-image icons.

Please delete the images you added manually and use the Add New form instead, then let us know if that works or not. :)

Link to comment
Share on other sites

Hi Peter,

I didn't.
First time I did not created anything. Just went to BackOffice>Languages>Add new.
And than that form came up, to name the new language. Clear: Hungarian.
Next field: ISO code. Clear: hu
Next field: left empty, i had no idea what a flag should be, and no idea what kind of picture has to be a "no image available" image should be.
But these field are required.
So I looked for the flag pix, and found them in //img/l/, and than duplicated one of them, recolored it, and saved as 23.jpg. The same method for the other one. (I wasn't shure which one is the one, so I have duplicated en.jpg in //img/c/ and saved there as hu.jpg. (Later, when I cheked, I saw the others generated, like hu_default_small.jpg, hu_default_medium.jpg, etc.)

Started all over again, with these pictures created the places mentioned above. (23.jpg, hu.jpg)
BackOffice>Languages>Add new.

Name, it, ISO code, and browsed for the 23.jpg and hu.jpg.
Clicked Save.
And nothing happened.

The list of languages did not came back, I had to refresh the page, but no Hungarian at the list. It ends with Hebrew No. 21.

Szabolcs

Link to comment
Share on other sites

  • 3 months later...

I know i'm a bit late, bit i have the same problem. I'm using MAMP and Prestashop 1.0 stable release.
Could someone please help or redirect me to post where this problem was possibly solved.
This thread didn't offer a solution.

Thx a lot

Boik


I also see that in table lang nothing is added. But it does delete language. Something with my server settings?

Link to comment
Share on other sites

  • 2 years later...

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...