Page 1 of 1
Problems with Default language
Posted: Mon Aug 31, 2009 9:58 pm
by GeoBots
hello, i started translate default language to Latvian and in admin panel i'm change language code from
EN to
LV and save, I not can enter in admin panel. All time show this text:
Code: Select all
Notice: Undefined index: en in /mysite.com/htdocs/system/library/language.php on line 40Notice: Undefined index: en in /mysite.com/htdocs/system/library/language.php on line 60Error: Could not load language !
i put original language.php on FTP, but nothing happens
sorry for my english

Re: Problems with Default language
Posted: Mon Aug 31, 2009 11:15 pm
by Daniel
yuo will have to go through your db manager and alter the field manually
Re: Problems with Default language
Posted: Wed Sep 02, 2009 8:44 am
by takayuki
exactly which table and field needs to be updated to get US english?
My client attempted to change the site to US english and now I'm getting the same error:
Notice: Undefined index: en in /usr/www/users/takayuki/jof/system/library/language.php on line 40Notice: Undefined index: en in /usr/www/users/takayuki/jof/system/library/language.php on line 60Error: Could not load language !
thanks
Re: Problems with Default language
Posted: Wed Sep 02, 2009 8:56 am
by takayuki
i changed the config_language field in the setting table to
us_en
but page still errors...
am i editing the right field?
Re: Problems with Default language
Posted: Wed Sep 02, 2009 12:03 pm
by takayuki
FIXED...
My client got in and changed the Admin > Configuration > Localization > Language parameters which broke the site.
I changed the settings back to 1 | English | en | en_US.UTF-8,en_US,en-gb,english | us.png | english | english | 1 | 1 |
in the language table via phpmyadmin.
Maybe there should be a warning on this page? My client typed in US instead of en trying to switch the site to US, which broke the site. Yes, he should have read the manual, etc. But maybe a warning here would be good, if you change these values and don't know what you are doing, you can break the site.
takayuki
Re: Problems with Default language
Posted: Fri Sep 04, 2009 3:06 am
by GeoBots
Daniel wrote:yuo will have to go through your db manager and alter the field manually
thanks

Re: Problems with Default language
Posted: Sun Nov 22, 2009 8:28 pm
by eric232
Changed the language from "en" to "us" on the setting page. Now site is broken. "Undefined index" and "Could not load language!" Can't find the file with my erroneous "us", so I can change back to "en". Any help?