[Deganawida-sysadmin] [Fwd: Re: dada i18n problem]
Brian Keith Szymanski
bks10 at cornell.edu
Tue Sep 9 02:33:12 PDT 2003
Das solution, mostly.
-------- Original Message --------
Subject: Re: dada i18n problem
From: "a.h.s. boy" <spud at nothingness.org>
Date: Tue, September 9, 2003 12:29 am
To: "Brian Keith Szymanski" <bks10 at cornell.edu>
Brian --
(This ended up being a saga, with a few twists and turns...)
The gettext installation looks OK, but the language files on the server
appear to be a bit...missing. In theory, there should be system Spanish
files in /usr/share/locale/es_ES.utf8 or /usr/lib/locale/es_ES.utf8,
but both directories are empty.
Actually, there seem to be xx_YY.utf8 files scattered all about
(/usr/share/locale, /usr/lib/locale/,/usr/local/share/locale/), and I
tried filling ALL of them with the es_ES.utf8 files from my Linux
distribution, but none seem to work. Hmmm.
I returned everything the way I found it, except for leaving the
Spanish localization files from my Linux box in
/usr/lib/locale/es_ES.utf8/ (it had been empty, so if there's any
desire to start from scratch, delete all the contents of
/usr/lib/locale/es_ES.utf8/).
At this point, I'm a bit stumped. I did find a FreeBSD port of utf8
locales at
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/perky/
utf8locale-1.5.tar.gz
...but by the looks of things, it has already been installed (looking
at the C source code, it looks like it does only partial utf-8
localizations, and shares UTF-8 resources for some of the LC_xxx files,
which appears to be what's going on in
/usr/local/share/locale/es_ES.UTF-8/ so I suspect the package is
already installed.
My knowledge of FreeBSD -- which doubled in the past hour, I think --
is now exhausted. Has anyone been in touch with scott at bandwidthcoop.org
to find out what he did? He went through exactly this on his server, if
I recall correctly.
Ah...wait, that's getting me somewhere. I did I side-by-side comparison
of dega's filesystem vs. bandwidthcoop's. Found a few variations in
symbolic links, and changed one for es_ES.utf8. It now works...almost.
It switches locales, but it isn't doing dates right. But that might
just need some more wriggling. Or wrangling. Or wrestling. Or sumthin'.
Right now, dega's crawling, barely serving pages, and barely accepting
commands on the command line. I'll try to sort more of this out
tomorrow if I have a chance...
spud.
On Monday, September 8, 2003, at 09:28 PM, Brian Keith Szymanski wrote:
> Hey spud,
>
> We just migrated sc to dega from zero, and we appear to be having
> problems
> with i18n. I was wondering if you could take a look at
>
> /home/dadaIMC/santacruz/logs/dadaphp.log
>
> ... it's filled with messages like:
> [Santa Cruz IMC][2003-08-28 23:00:22] from
> (c8104095e81afa96c85a320b79fa67b7)
> Failure setting language to en_US using en_US.utf8
> Page: /media/index.php
> Referrer:
> http://santacruz.indymedia.org/media/index.php?function=brows
> e&category=all&limit_start=144
>
> according to phpinfo(), gettext is compiled in... Any idea what's
> going on
> here? Do I need to recompile php?
>
> Peace,
> Brian
>
>
>
>
-------------------------------------------------------------------
a.h.s. boy
spud(at)nothingness.org "as yes is to if,love is to yes"
http://www.nothingness.org/
-------------------------------------------------------------------
More information about the Deganawida-sysadmin
mailing list