Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Possible to have different header.php so I can have my buttons in another language


Recommended Posts

Posted

Hi, can I make the buttons swift to another pair of settings when one change the language?

 

The buttons are on English now but want them to change when I change to the Swedish language...

 

So can I asign a header.php to work with the swedish language and another one with English?

Posted

Here is an example of someone who changed the banner when the language switched:

 

Click Me

 

His code will be different than yours (if you have "stock" osC) because he has a "template", but the change wouldn't be all that different.

 

But to answer your question, yes it's possible, but you won't need another header.php file.

 

Just some strategically placed code changes.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...