Hi Denis Gerasimov, you wrote:
> I am facing some troubles with gettext.
> ...
> putenv("LANG=ru_RU");
Speaking from my experience, you need to use only "ru" there
on Windows...
> setlocale (LC_ALL,"ru");
...but you definitly have to use the Windows abbreviation
for the corresponding locale in
Quoting Mark Rees <[EMAIL PROTECTED]>:
> Consider whether you will always display the information in a web browser.
> If there is any possibility that another program may be used for display,
> you don't want the HTML tags in the database.
In this particular situation I'm dealing with I only have
"Skippy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How do you people best deal with text meant for i18n via gettext, which is
> either large or contains HTML tags, or both?
>
> The GNU gettext manual, in section 3.2, recommends to split long texts at
> paragraph level, or in th
Catalin Trifu wrote:
> moving the scritps to
> another machine means more headache, it relies on system calls which
> are not "isolated", which means scritps can step on each others toes.
> MyÂadviceÂisÂstayÂawayÂofÂgettext.
Thanks for your advice!
I have tested the script on the Webserver, and
Hi,
I had really bad headaches with gettext some time ago
and since then I decided to no longer use it. It's unreliable on
heavy loads (mixed english + translated texts), moving the scritps to
another machine means more headache, it relies on system calls which
are not "isolated", whic
Thank you!
> putenv("LANG=de_DE");
> putenv("LANGUAGE=de_DE"); // better to be paranoid, works for me ;-)
this one did the trick !
> putenv("LC_ALL=de_DE");
> setlocale(LC_ALL, "de_DE", "german");
>
> (see some user comments in php manual)
i already read the all before posting he
Catalin Trifu wrote:
Try:
putenv("LANG=de_DE") . '';
putenv("LC_ALL=de_DE") . '';
setlocale(LC_ALL, "de_DE", "german") . '';
I would have done this:
putenv("LANG=de_DE");
putenv("LANGUAGE=de_DE"); // better to be paranoid, works for me ;-)
putenv("LC_ALL=de_DE");
setlocale(LC_ALL, "de_DE", "germ
Send me your messages.po file, I try it... Gettext is cool, it works
very well for me...
Desi
Catalin Trifu wrote:
Hi,
Thanks for the reply, but it doesn't work
this way either.
in /www/locale I do have
de/
LC_MESSAGES/
messages.mo
de_DE/
LC_M
Hi,
Thanks for the reply, but it doesn't work
this way either.
in /www/locale I do have
de/
LC_MESSAGES/
messages.mo
de_DE/
LC_MESSAGES/
messages.mo
btw! on win32 it works :(
Catalin
"Desi" <[EMAIL PROTECTED]> wrote in message
Hello,
Try:
putenv("LANG=de_DE") . '';
putenv("LC_ALL=de_DE") . '';
setlocale(LC_ALL, "de_DE", "german") . '';
Desi
Catalin Trifu wrote:
Hi,
I want to add i18n support for my web site, but
it doesn't seem to work.
PHP 4.3.3., Apache 1.3.28, Mandrake 9.0
Here comes the test c
>Hi
>I'm using gettext to add i18n to a web site, and it seems to work fine,
>but the translation is done randomly. I mean that if you reload many times
>the page, sometimes it gives back the translated message and sometimes the
>untranslated one.
>These are the steps I followed to use gettext wit
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Thalis A. Kalfigopoulos) wrote:
> Someone with the proper authority should probably put on the manual pages
> that to get the gettext functionality you have to configure with the
> --with-gettext flag.
Did you know that anyone is allowed to a
12 matches
Mail list logo