Accéder au contenu.
Menu Sympa

fr - Re: [sympa-fr] Problems with locales on Debian

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: Jens Krehbiel-Graether <adresse@cachée>
  • To: adresse@cachée
  • Subject: Re: [sympa-fr] Problems with locales on Debian
  • Date: Thu, 29 Jun 2006 10:49:12 +0200

Jean Charles Delepine schrieb:
Jens Krehbiel-Gräther wrote:
Hi!

I have problems with the locales in wwsympa.

I downloaded sympa 5.2.1 (and sympa 5.2 before) and compiled it without any
errors.

On the wwsympa interface I have only "Deutsch" (german) in the list for changing the
language, but this several times. It is regardless of which "Deutsch" I choose the
displayed language ist always german.

I have a second (almost identical) Debian sever with sympa 5.1.2 where it
works perfect and I have several language which I can choose.

You should `dpkg-reconfigure locales` and add any locales you've set in
supported_lang's sympa.conf.

Jean Charles

Hi!

I already did this several times and I added ALL locales to debconf. The system locales are all generated and I added to sympa.conf:

lang de
supported_lang de,en_US,fr,cs,el,hu,it,ja_JP,nl,oc,pt_BR,tr

But even if I change the "lang" option to anything else the web interface is german and all the languages in the drop-down-menu are german. (Look at the picture at this mail). I can choose whatever "Deutsch" I want, the language ist really german.

This ist what "make" outputs in sympa source dir:

srv-5:/usr/src/sympa-5.2.1# make
######################## W A R N I N G ######################
## If it is the first time you install Sympa on this server :
## It may take a while....
## The reason is that Sympa requires many Perl modules that
## are not distributed with the standard Perl distribution.
## We'll try to install these modules automatically...
## If some modules cannot be installed automatically, (probably
## because of the 'make test'), try downloading them from the
## CPAN website (http://search.cpan.org) and install them manually.
#############################################################
Please hit <Enter> to proceed
Checking needed CPAN modules ...
/usr/bin/perl ./check_perl_modules.pl
******* Check perl for SYMPA ********

Checking for PERL version:
-----------------------------
your version of perl is OK (5.008004 >= 5.005)

Checking for REQUIRED modules:
------------------------------------------
perl module from CPAN STATUS
----------- --------- ------
Archive::Zip Archive-Zip OK (1.14 >= 1.05)
CGI CGI OK (3.04 >= 2.52)
Crypt::CipherSaber CipherSaber OK (0.61 >= 0.50)
DBD::mysql Msql-Mysql-modulesOK (2.9006 >= 2.0407)
DBI DBI OK (1.46 >= 1.06)
DB_File DB_FILE OK (1.808 >= 1.75)
Digest::MD5 Digest-MD5 OK (2.33 >= 2.00)
FCGI FCGI OK (0.67 >= 0.67)
File::Spec File-Spec OK (0.87 >= 0.8)
IO::Scalar IO-stringy OK (2.110 >= 1.0)
LWP libwww-perl OK (5.803 >= 1.0)
Locale::TextDomain libintl-perl OK (1.16 >= 1.0)
MHonArc::UTF8 MHonArc OK (2.6.16 >= 2.6.0)
MIME::Base64 MIME-Base64 OK (3.04 >= 3.03)
MIME::Tools MIME-tools OK (5.417 >= 5.209)
Mail::Internet MailTools OK (1.62 >= 1.51)
Regexp::Common Regexp-Common OK (2.120 >= 1.0)
Template Template-ToolkitOK (2.14 >= 1.0)
XML::LibXML XML-LibXML OK (1.58 >= 1.0)

Checking for OPTIONAL modules:
------------------------------------------
perl module from CPAN STATUS
----------- --------- ------
Bundle::LWP LWP OK (1.11 >= 1.09)
Constant subroutine CGI::XHTML_DTD redefined at /usr/share/perl/5.8/constant.pm line 108.
CGI::Fast CGI CGI::Fast doesn't return 1 (check it).
DBD::Oracle DBD-Oracle was not found on this system.
Setting FTP Passive mode
Description: Oracle database driver, required if you connect to a Oracle database.
Install module DBD::Oracle ? [n]

[...]


so the perl-modules are correct (I installed the debian-packages, not from cpan).

Can anyone help me please??

Jens



Archives gérées par MHonArc 2.6.19+.

Haut de le page