|
From: Sergio A. K. <ser...@ho...> - 2001-06-05 13:43:32
|
hi pablo,
I agree 100% with you, while I can see the point on using gettext with
a languaje like C, I still cannot see the point on using gettext on
a languaje like PHP.
a solution based on $HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"]
(ie. the client browser languaje) and a simple dictionary,
is IMO better (and more simpler for translators)
anyway, I get 1.2.0 to work with my locale using "es_AR" with
this simple patch
putenv ("LANG=$LANG");
+ if ( setlocale('LC_ALL', "") == null)
+ echo "INVALID locale";
bindtextdomain ("phpwiki", "./locale");
now, I don't know what to do with my changes, I'm just waiting
for mantainers feedback...
/sergio
----- Original Message -----
From: "Pablo Roca Rozas" <pr...@cl...>
> Hi Sergio,
>
> I wa the man who did the spanish traslation according with the supplied
> instructions and some help from here.
>
> Unluckyly, I can't put this to work in my site cause they don't allow
> the gettext, maybe I can check this with another ISP. But I don't feel
> comfortable with gettext oriented funcs, cause some ISP's don't use it.
>
> Imagine how I feel .. :)
>
> Pablo Roca
|