Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Extra translated text and link in footer ?


Guest

Recommended Posts

Hi,

 

I want in the footer a extra line with some links. But the translation must following the language.

How can I do this ?

 

Is this the good way ?

 

in english.php and in al the other language files

define('EXTRA_FOOTER_TEXT', 'This is a extra footer text');

 

in footer.php

<tr><td><? EXTRA_FOOTER_TEXT ?> </tr></td>

 

Thanks

Jan

Link to comment
Share on other sites

Yes, that's right....

 

<?php echo EXTRA_FOOTER_TEXT; ?> in your catalog/includes/footer.php

 

----------------------------------------------------

 

define('EXTRA_FOOTER_TEXT', 'This is a extra footer text');

 

in catalog/includes/languages/english.php

in catalog/includes/languages/espanol.php

in catalog/includes/languages/german.php

 

etc...

 

Hi,

 

I want in the footer a extra line with some links. But the translation must following the language.

How can I do this ?

 

Is this the good way ?

 

in english.php and in al the other language files

define('EXTRA_FOOTER_TEXT', 'This is a extra footer text');

 

in footer.php

<tr><td><? EXTRA_FOOTER_TEXT ?> </tr></td>

 

Thanks

Jan

Link to comment
Share on other sites

Yes, that's right....

 

<?php echo EXTRA_FOOTER_TEXT; ?> in your catalog/includes/footer.php

 

----------------------------------------------------

 

define('EXTRA_FOOTER_TEXT', 'This is a extra footer text');

 

in catalog/includes/languages/english.php

in catalog/includes/languages/espanol.php

in catalog/includes/languages/german.php

 

etc...

 

Thanks, it works this way.

 

Jan

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...