Dolphin 7.0.9 - Got http 500 error when importing translation file

I just installed Dolphin 7.0.9 and I tried to import my custom language file but I got http 500 error (saying that  a error occurred while retrieving "http://mydomain/administration/lang_file.php"). I basically exported the original lang_en.php and replaced some Chinese words in the file, didn't make any invalid changes, and don't know why this error would happen. BTW, I have tried to rename the translated file to lang_zh.php, lang-zh.php and lang-zh-tw.php, as well as set "Name" and "Flag" to "zh" and "tw", just couldn't get the correct result.

Any idea or suggestion would be highly appreciated, thanks!!

Quote · 9 Apr 2012

theres not an error in the lang file otherwise you will get a php error. Its a server error check to see that a .htaccess file is in the langs directory is present.

so much to do....
Quote · 9 Apr 2012

The .htaccess file is there in the langs directory. Should I do anything with it?

Quote · 9 Apr 2012

lol its admin directory. Check the administration directory for .htaccess and post the file content here. You getting this error only with that particular file so maybe its a file permission problem

so much to do....
Quote · 9 Apr 2012

 

<IfModule mod_rewrite.c>

RewriteEngine off

</IfModule>

======================

The content of .htaccess under administration folder has only 3 lines as the above, and it's permission is 644.

Quote · 9 Apr 2012

oh, i am out of clue and can't tell much without looking into it and i am kinda busy now

You can wait for some more replies and if its really urgent just reinstall your dolphin.

so much to do....
Quote · 9 Apr 2012

I just reinstalled the website but the same error, have no idea why...

Thanks for your kindly help anyway.

Quote · 9 Apr 2012

take a look at folder permission list at 

http://your-site/administration/host_tools.php (permission tab)

maybe it show something

so much to do....
Quote · 9 Apr 2012

I just tried to make a second lang_zh.php with simply some words replaced and then do the import, and it works! So I'm pretty sure it was my first lang_zh.php's problem, I will now be more careful of the second one. Again, thanks a lot for your help.

Quote · 10 Apr 2012

 quite strange because php files don't cause server errors. Atleast i know that it doesn't. Maybe i am wrong anybody can correct me if i am wrong.

I just tried to make a second lang_zh.php with simply some words replaced and then do the import, and it works! So I'm pretty sure it was my first lang_zh.php's problem, I will now be more careful of the second one. Again, thanks a lot for your help.

 

so much to do....
Quote · 10 Apr 2012

I did read somewhere on this forum, that unless you unload all the installed modules first, you will not be able to install a new language...

But if you uninstall all the installed modules, wouldn't you loose all the data you put into them?

It must to be a better way to put a new language into Dolphin, right now i can download the default english php language file but i can't upload anything, it gives me an error message all the times...

Quote · 10 Apr 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.