Pages can be language neutral, hence they appears whatever the language is actually chosen. (sitemap, ... )
One implement such feature by implementing a neutral language file (see below),
and a minor hack within the 'class.frontend.php'
--8<-----------------8<------------8<-----------------8<------------8<-----------------8<----------
class.frontend.php:83
$this.sql_where_language = " AND ( language = '".LANGUAGE."' OR language = 'NONE' );
--8<-----------------8<------------8<-----------------8<------------8<-----------------8<----------
languages/NONE.php (language file = NONE.txt)
<?php
/* Legals and copyright stuff (comments striped out ) */
if(!defined('LANGUAGE_LOADED')) {
define('LANGUAGE_LOADED', true);
}
$language_code = 'NONE';
$language_name = 'Neutral language';
$language_version = '1.0';
$language_platform = '2.6.x';
$language_author = 'Jean-Marc Morin'; /* in case you wonder */
$language_license = 'GNU General Public License';
?>
--8<-----------------8<------------8<-----------------8<------------8<-----------------8<------------8<-----------------8<----------