29/11/2012, 19:27:38
Bonsoir,
J'ai exactement le même soucis
je suis sur la 1.1.1 et le module CG extendedtool est installé
pourtant j'ai créé un fichier
dans lib/nls/de_DE.nls.php c'est ma troisième langue
qui fait référence au admin.inc
lien site http://ontheroad.lescigales.org/decade/i...hp?page=fr
J'ai exactement le même soucis
je suis sur la 1.1.1 et le module CG extendedtool est installé
pourtant j'ai créé un fichier
dans lib/nls/de_DE.nls.php c'est ma troisième langue
Code :
Fatal error: Call to a member function direction() on a non-object in /home/users/00/09/ac/home/www/decade/modules/MleCMS/lib/class.mle_detector.php on line 46
Code :
<?php
#CMS - CMS Made Simple
#(c)2004 by Ted Kulp (wishy@users.sf.net)
#This project's homepage is: http://cmsmadesimple.sf.net
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#NLS (National Language System) array.
#The basic idea and values was taken from then Horde Framework (http://horde.org)
#The original filename was horde/config/nls.php.
#The modifications to fit it for Gallery were made by Jens Tkotz
#(http://gallery.meanalto.com)
#Ideas from Gallery's implementation made to CMS by Ted Kulp
#De Deutsch
#Created by: Piratos Jan Czarnowski <czarnowski@coftware.de>
#Maintained by: Ted Kulp <tedkulp@users.sf.net>
#This is the default language
#Native language name
$nls['language']['de_DE'] = 'Deutsch';
$nls['englishlang']['de_DE'] = 'German';
#Possible aliases for language
$nls['alias']['de'] = 'de_DE';
$nls['alias']['deutsch'] = 'de_DE' ;
$nls['alias']['deu'] = 'de_DE' ;
$nls['alias']['de_DE.ISO8859-1'] = 'de_DE' ;
#Encoding of the language
$nls['encoding']['de_DE'] = "UTF-8";
#Location of the file(s)
$nls['file']['de_DE'] = array();
array_push($nls['file']['de_DE'], dirname(__FILE__)."/de_DE/admin.inc.php");
#Language setting for HTML area
# Only change this when translations exist in HTMLarea and plugin dirs
# (please send language files to HTMLarea development)
$nls['htmlarea']['de_DE'] = "de";
?>
lien site http://ontheroad.lescigales.org/decade/i...hp?page=fr
-.