Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Deleting the English Language


Haitashi

Recommended Posts

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

  • 4 months later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...