New Zenner
- Join Date:
- Sep 2006
- Posts:
- 10
- Plugin Contributions:
- 0
Force Language
i would like have in shop one language for customers, but leaved english language support.
In the even of visitors English pages create redirecting on deafult language and hold all variables in address bar.
This exacly do language icons. I need teplate linecode for one default language,that i can add als meta code in page header. xxx
[PHP]<head>
...
<?php if (defined('FORCE_LANGUAGE')) { ?>
<meta http-equiv="refresh" content="1;url=<?php xxx ?>" />
<?php } //endif FORCE_LANGUAGE ?>
...
</head>[/PHP]
also
meta_tags.php appropriate for english languare
------------------
[PHP]// Define FORCE_LANGUAGE , if empty redirecting will be dissabled
define('FORCE_LANGUAGE', 'yes');[/PHP]
thanx for advices