Haitashi Posted January 22, 2004 Share Posted January 22, 2004 Hey guys! Big hugs to the whole OSC community! I'm using CVS 2.2. My website is meant to be only in spanish. I set spanish as the default language and I tried to erase the english language files....Needless to say, I got a bunch of errors.:blink: Can the english language be eliminated from my OCS copy without it coming crashing down? Does anybody know, have any ideas or info I can access in order to do this. As always, you help is greatly appreciated. :D If you have a serious problem but it can be solved, why worry about it? If you have a serious problem but it can't be solved, then why worry about it? Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2004 Share Posted January 22, 2004 Turn English off in Admin/Localization/Languages Delete English there Mike Spires Link to comment Share on other sites More sharing options...
Haitashi Posted January 22, 2004 Author Share Posted January 22, 2004 Thanx! That was really simple..jeje :blink: If you have a serious problem but it can be solved, why worry about it? If you have a serious problem but it can't be solved, then why worry about it? Link to comment Share on other sites More sharing options...
ensermo Posted June 1, 2004 Share Posted June 1, 2004 Its simpler said than done I think :blink: . You have to watch out. A lot of tables in the database have a language_default row wich is by default 1 (for English). (Like table: categories_description) What I have seen on a few installs is that if you allready have a catalog and you delete the english language all the rows with language_default = 1 will be deleted, leaving you without a catalog :( (learned it the hard way) If you don't have a backup.. you can start again filling new categories. (or at least the tables using language_default) At least. This is my experience. What I do is just leave English there and just FORCE any browser to use the default language by disabling a language control feature in "includes/application_top.php" Comment out or change CODE $lng->get_browser_language(); Default language, without the browser Note: I am using webmakers.com mod of OScommerce Shoppe Enhancement Controller, Customized Software by Linda McGrath (aka SECv2_2MS2GV) Or you could go thru you tables with PHPMyAdmin and change the default to yuor own language ID. (haven't tested it) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.