Totally Zenned
- Join Date:
- Jun 2006
- Location:
- My family and I live in Brighton, England
- Posts:
- 947
- Plugin Contributions:
- 0
tpl_footer & tpl_header text based on language
Well, I finally worked it out, I believe. Sometimes it just takes soooo long to SEE a thing!
My modification to tpl_header.php was out of whack, as was my understanding of constant URLs. This bit off code did what I wanted:
<li><a href="http://www.beadedlilydesigns.com/?language=it"><?php echo BOX_INFORMATION_HOME_IT; ?></a></li>
It's defined in each language file as follows:
italian.php:
// Italian language home link
define('BOX_INFORMATION_HOME_IT', 'Home');
define('HEADER_TITLE_CATALOG', '');
and
english.php:
// Italian language home link
define('BOX_INFORMATION_HOME_IT', '');
Now there is still a Home link in the header for each language but each stays within its own language instead of both defulting to English.