Page 1 of 1

Solved! - system crashed after adding language option

Posted: Sun Dec 09, 2012 8:13 pm
by Yixuan_lee
I reinstalled everything, problem solved. I remember to constantly keep backup my databases, IMPORTANT!

Hello,

I need help with restoring my website. After I added a language option ( I thought it could work with two language system for my online shopping system), both index.php and admin can not be loaded. What I did was:
1, add one language name"Nederland"
2,code input :Nl_nl.UTF-8,Nederland
3, modify the image:nl.png and then click the add

Then everything was gone, my webiste is a blank.

Here is the error file under system/logs
2012-12-08 10:26:21 - PHP Notice: Error: Could not load language Nederland! in /home/easte385/public_html/system/library/language.php on line 39
(and repeating...)

May I ask how I can restore my original settings? I already modified category and product information, I do not want to loose all but a wrong setting.

Thanks.

Re: system crashed after adding language option

Posted: Sun Dec 09, 2012 10:34 pm
by i2Paq
You probably made a mistake when adding the Dutch language.

Re: system crashed after adding language option

Posted: Sun Dec 09, 2012 10:42 pm
by pprmkr
Yixuan_lee wrote:PHP Notice: Error: Could not load language Nederland! in /home/easte385/public_html/system/library/language.php on line 39
You did not follow the instructions provided in the readme.

This error means: I expect a language Nederland but cannot find it.

When you copied the content of the archive, there is no folder /Nederland, but /dutch and the filename is dutch.php

Try rename the folder dutch to Nederland
When you also entered Nederland as filename, also rename dutch.php to Nederland.php

Then reset default language to english, rename the changed Nederland back to dutch and enter the values as provided in the readme.

Re: system crashed after adding language option

Posted: Mon Dec 10, 2012 2:23 pm
by Yixuan_lee
Hello,

Thank you for your reply. Can you please explain in details? I am a new user of opencart. I took a look readme files already while it did not explain multiple language versions.

I checked all documents, except english.php under admin/language/english, there is no file named dutch.php. Can you please explain me where I can download the dutch version of opencart? In which folder should I put it?

Thank you.