Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links in different Languages


Ronny

Recommended Posts

Posted

Hello.

 

I have a modified information box in my left column. osCommerce Template.

Can anyone tell me how I can make the links appear in the chosen language?

 

Here´s the code for the box. It´s located in column_left.php and not information.php.

 

<table border="0" cellspacing="0" cellpadding="0" width="173" align="center">
			<tr><td><ul>
			 	<li><a href="<?=tep_href_link('contact_us.php')?>">Kontakt</a></li>
				<li><a href="<?=tep_href_link('design.php')?>">Design</a></li>			 						<li><a href="<?=tep_href_link('conditions.php')?>">Kjøpsbetingelser</a></li>			 				<li><a href="<?=tep_href_link('privacy.php')?>">Sikkerhet</a></li>
			</ul></td>
			</tr>
</table>

May life be good to you...

Sincerely, Ronny

Posted

Look at the original information.php file...

 

Maybe something like this...

 

<?

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

?>

Posted

Thank you for your reply.

 

Didn´t work I´m afraid. The link appeard like this:

 

BOX_INFORMATION_CONTACT

May life be good to you...

Sincerely, Ronny

Posted
Thank you for your reply.

 

Didn´t work I´m afraid. The link appeard like this:

 

BOX_INFORMATION_CONTACT

 

Figured it out.

As this is a template the author for some reason didn´t place the contact_us.php in the boxes directory.

So changing the path in english.php did the trick. :)

May life be good to you...

Sincerely, Ronny

Archived

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

×
×
  • Create New...