When i try to import a "lang_fr.php" file , copy and export from the original one "lang_en.php".
I have this error : "Could not add a new language to the database".
Can someone help me ?
Thanks, regards,
S.C.
When i try to import a "lang_fr.php" file , copy and export from the original one "lang_en.php". I have this error : "Could not add a new language to the database".
Can someone help me ?
Thanks, regards,
S.C.
|
I am having the same problem. Did you find a solution yet?? |
While importing another language file receiving an ERROR: "Could not add a new language to the database". I just found a simple solution. Go to your cpanel, Delete all files under cache and cache_public folders, Go back to your Admin and import your language file again. Good Luck nycarpenter |
Same problem here, so what i did is going directly where the php language file is and swapped with a custom one i made, however this created an inconvenience with the rest of the modules somehow, it looks like you will have to edit the language file in each of the modules too after that, however i might be wrong on this, i hope a solution is found soon.... |
Have a look here, i didn't try this yet: |
Clearing the cache folder before solve the problem. Thanks.
S.C |
Ok, i did it, You have to go in the language place, and create a new language file, you put title, code (for me : italian,IT) set the flag and copy from english and save. after you manually put yourlang*.php file inthe folder langs, and then set your preferred language :-DD .! it works. |
to import a new language you have to add an info array before the constants, par example:
. . . . |
And where is that cache and cache_public there cpanel? |
And where is that cache and cache_public there cpanel? If you login to cPanel and go to the root of your Dolphin installation, you will see a cache and cach_public directory there. (Do not delete any .htaccess files)
You can also see these directories using an FTP program as well. Not sure which you prefer or how you uploaded Dolphin initially. You can also try logging into the Admin Panel > Tools > Cache and click the 'All' link on the right. Nothing to see here |
I do all that but still not can add new language coming that same message |