[Deganawida-sysadmin] spanish interface doesn't work
a.h.s.boy
spud at nothingness.org
Sun Sep 28 03:54:35 PDT 2003
A few notes about this and other (some IMPORTANT!) things:
setlocale() seems rather broken, or not fully installed or something on
deganawida. I don't know enough about FreeBSD to troubleshoot it
though. gettext() support is properly compiled into PHP, so that's not
the problem. The OS-level commands aren't working properly. I know that
the version of glibc has some effect on gettext/locale support (needs
2.2 or higher), but I have no idea what version of glibc is available.
And I know that the kernel can be compiled in such a way to support/not
support Unicode, but I don't know anything about the "standard" or
normal configuration of the kernel to know whether or not this is
"special" or the default. We sort of need somebody who knows both
FreeBSD and gettext to help sort this out.
There's a FAQ at http://www.linux.org/docs/ldp/howto/Unicode-HOWTO.html
that might make more sense to someone who has done the FreeBSD
installation from the beginning.
I changed the header.inc files of santacruz and canarias to use
set_locale(LC_TIME) rather than set_locale(LC_ALL), since we really
only need the OS to modify date/time formatting for us (the missing
LC_CTYPE and LC_NUMERIC may cause a few minor problems, but we can live
with it).
This change at least makes set_locale return TRUE. Trying to set
LC_CTYPE or LC_NUMERIC individually also fails.
Anyway, the Spanish dadaIMC translations now display. That's good.
As for other stuff...I fixed a bunch of permissions issues -- many of
the directories that need to be writeable by the Apache user (www) were
NOT writeable. "cache", "cronjobs", "images", "styles", and "usermedia"
all need to be written to by www. I fixed a bunch of these for
santacruz and canarias, but others may have problems.
I also fixed the "path" in the Prefs for canarias. The path was listed
as /usr/local/dadaimc/canarias/, but it needs to read
/usr/local/dadaIMC/canarias/ (capitalized dadaIMC). This was preventing
anything from being cached, at least, and I would suspect it would have
prevented new media uploads too. Better now.
I also fixed the stylesheet for canarias so the logo and banner appear.
The current version still bombs when trying to load the stylesheets,
but that will soon be fixed with .98 (or I may be able to replace a few
selected files to fix it sooner).
That's all for now. Too much sysadmining for me today!
spud.
On Saturday, September 27, 2003, at 04:22 PM, jonhattan wrote:
> hi all,
>
> i'm jonhattan from imc-canarias.
>
> Our site uses only spanish and it doesn't work, i can't say how long it
> is broken..
>
> i have seen santacruz site and it doesn't work also.
>
> greetings
>
> _______________________________________________
> Deganawida-sysadmin mailing list
> Deganawida-sysadmin at lists.indymedia.org
> http://lists.indymedia.org/cgi-bin/mailman/listinfo/deganawida-sysadmin
>
>
-------------------------------------------------------------------
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