Skip to Content.
Sympa Menu

en - Re: [sympa-users] problem displaying the language

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Michael Redinger <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] problem displaying the language
  • Date: Wed, 10 Aug 2005 15:46:43 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Ok, we finally found the problem(s):

- - First of all, this problem only seems to occur under some
circumstances. We are using the Solaris "CSW" perl package, but we have
also seen this with the "normal" Solaris 10 perl package.

- - we had to use "gmsgfmt" from the CSW ggettext package. The "native"
msgfmt and the one from Sun Freeware did not work for us. (But we found
that this is only true for some language files. Others language .mo
files, eg. fr_FR, seem to work fine with the standard msgfmt).

- - gettext behaves differently on Linux on Solaris. On Linux, it uses
LC_MESSAGES, LC_ALL and LANG. On Solaris it does not but uses LANGUAGE
instead. Oh well. So the patch below needs to be changed to set LANGUAGE
as well. Olivier will do this, thanks (also for everything else he did
to help us locate the problem). This is only a problem if LANG is set to
anything different from C or POSIX.

Greetings,
Michael


Michael Redinger wrote:
| Hi,
|
| no, sorry, this does not seem to work, the result stays the same for me.
|
| Greetings,
| Michael
|
| Olivier Salaün - CRU wrote:
| | Many Solaris users reported this very annoying problem...
| | I eventually got a chance to test the Sympa locale subroutines on a
| | Solaris 10 server and I found out that POSIX::setlocale() fails on
| | Solaris 10.
| |
| | Here is a patch that should fix the problem :
| |
|
http://sourcesup.cru.fr/cgi/viewcvs.cgi/sympa/src/Language.pm?r1=1.40&r2=1.41&makepatch=1&diff_format=u

|
|
| |
| |
| | Michael please confirm that the patch works !
| |
| | Michael Redinger wrote:
| |
| |> I have installed 5.1pre on Solaris 10.
| |> On the first page and the users' settings page, the language drop-down
| |> list contains empty entries, ie. there are entries, but they do not
| |> contain any strings. I can even select eg. the second one and change
| |> the language, but the language string is not displayed correctly.
| |
| |
| | [...]

- --
Michael Redinger
Zentraler Informatikdienst (Central IT Services)
Universitaet Innsbruck
Technikerstrasse 13 Tel.: ++43 512 507 2335
6020 Innsbruck Fax.: ++43 512 507 2944
Austria Mail: address@concealed
BB98 D2FE 0F2C 2658 3780 3CB1 0FD7 A9D9 65C2 C11D
http://www.uibk.ac.at/~c102mr/mred-pubkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC+gVDD9ep2WXCwR0RAjvZAJ9EeQWV9yItKCoz2ZVFGENTDawexwCgzzxp
nmO3UjpOibEpBfvgapYxXPA=
=xv50
-----END PGP SIGNATURE-----



Archive powered by MHonArc 2.6.19+.

Top of Page