Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Multi-language menu in the header


MAL

Recommended Posts

Hi,

I still searching a way to make the header menu multi-languages, i'am not finding the solution. Please if any body have an idea that can help me i would appreciate very much.

Many thanks,

Best regards,

Link to comment
Share on other sites

Hi,

 

After some search i found the solution:

 

In the administration:

-> Tools -> Languages definition

-> Choose the appropriate file and edit it

-> define a variable that contain the text in the desired language

exemple:

======

define('HEADER_TITLE_CREATE_ACCOUNT', 'Cr?er un compte');

 

-> Save the file and use the variable at the correspodant php file.

Exemple:

======

Put at the header.php file the following line:

<?php echo HEADER_TITLE_MY_ACCOUNT?>

 

This will display the text in the good language. :D

Regards,

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...