Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to eliminate language in module...newbie


richardmadrid

Recommended Posts

I am new to the forum and oscommerce. I am trying to redesign my store and doing pretty well (considering). There is one thing that I can't figure out and hope someone can throw me a line.

I want to take the german link off the language module but can't figure out how to do it. I assume I just have to disable to image and link but don't see what file it is in.

And while I am at it.. I want to get the text ?Bienvenido a sudominio.com! off the default page but also can't find the file where it is defined.

If you want to have a look to see what I am talking about:

http://www.majaelrayo.com/tienda/

 

Thanks for any help....

Link to comment
Share on other sites

Hi,

 

The welcome text is defined in includes/languages/english.php and espanol.php.

 

To disable German, you should delete the language German from admin (localization) and the German flag should disappear.

 

hth

Dominik

Maintainer German Banktransfer 0.92

The answer to the great question of life, the universe and everything is 42 (Douglas Adams)

Link to comment
Share on other sites

The easiest way (not sure if it's the best way) is to open the

/includes/column_right.php

file, and at the bottom, where it says

  if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

   include(DIR_WS_BOXES . 'languages.php');

   include(DIR_WS_BOXES . 'currencies.php');

 }

change it to

//  if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

//    include(DIR_WS_BOXES . 'languages.php');

//    include(DIR_WS_BOXES . 'currencies.php');

//  }

 

This way, if you ever want to turn it back on, just uncomment those lines. Does anyone know of a reason not to do this?

Link to comment
Share on other sites

Sorry, I forgot, that will actually get rid of both languages AND currencies. If you just want to get rid of the languages, just change

  include(DIR_WS_BOXES . 'languages.php');

to

//  include(DIR_WS_BOXES . 'languages.php');

 

And one more thing, this is if you want to get rid of all languages and/or currencies. If you just want to get rid of one language, and keep others, do what dogu said.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...