Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Different header for each language


Guest

Recommended Posts

Posted

There is a vertical menu on my header.php:

 

Company

Contacts

Specials

Advanced Search

Create an account

Customer login

 

And a horizontal menu:

Home | New Products | My Account | Shopping Cart | Check Out

 

These menus don't change when I change languages nor does "Shopping cart: Now in your cart 2 items " so I guess I need a different header for each language to accomplish this. Am I wrong? If I have use different headers, how do I include it in the appropriate files and which are the appropriate files?

 

See: http://www.thomasmckee.com/

Posted

I can tell you where it isnt its not under

 

includes/boxes/information.php under engish.php

 

If you get your answer plese post

 

BTW I want to change contacts to Contact Us and i can figure out where it is!

Posted
I can tell you where it isnt its not under

 

includes/boxes/information.php under engish.php

 

If you get your answer plese post

 

BTW I want to change contacts to Contact Us and i can figure out where it is!

 

 

That part is in the header: /includes/header.php same as mine. I just need my header/footer in different languages.

Posted

Contacts (in my site at least) is an image so I guess I cant change it !! I have another for greek. Its english/images/m29.gif and greek/images/m29.gif . My wild guess is that they made this gifs when they first installed the templates.

 

I think its a matter of template and not of osc!!!

Posted
Contacts (in my site at least) is an image so I guess I cant change it !! I have another for greek. Its english/images/m29.gif and greek/images/m29.gif . My wild guess is that they made this gifs when they first installed the templates.

 

I think its a matter of template and not of osc!!!

 

No, the menu item info in the header and footer aren't gif's. I have the PSD's for the graphics is I want to change them. I want to change the languages of the menu items because I want to use three languages and the menu items of the header is only in English. So, I want to know how to change that or if I have to use three headers. If I have to use three headers, which files will I have to change? There are several files that call the header.

Posted

Download to your pc the files Header.php and footer.php and the files from includes/languages/spanish.php (and the other two)

 

open the spanish and german php files and check for the words "home" "new products" "shopping cart"

for example you may see something like this in your spanish.php

 

EX

define('BOX_HEADING_SHOPPING_CART', 'Shopping Cart');

define('BOX_HEADING_SPECIALS', 'Specials');

 

If these are the same in german.php spanish.php and english.php it might be that you forgot to change the definitions

 

just change the Shopping cart part to the equivalent in the 2 languages and see if things change!!

 

Sorry but thats the only thing I could think of!!!

 

PS Back up even for minor changes!! I changed a single "-" to a "/" and everything fell apart!!!!

Archived

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

×
×
  • Create New...