Hello!
I wrote this skript, but gettext returns only the english string.
I could not find a bug at bugs.php.net, so I think I forgot something.
I have Debian Linux, PHP Version 4.3.4 and Gettext 0.14.1 (PHP and Gettext
as debian pakages)
gettext.php in /var/www/gymbay/
messages.po
# translat
Bart Coninckx wrote:
> header('Cache-Control:Âno-store,Âno-cache,Âmust-revalidate');Â//
> HTTP/1.1
> header('Cache-Control:Âpost-check=0,Âpre-check=0');Â//ÂdamnableÂIE5
You overwrite the first Cache-Control command, use:
header("Cache-Control: post-check=0, pre-check=0", false);
Now both Cache-
Yann LarrivÃe wrote:
> Did you restart apache after creating your mo file ?
You are right, thank you.
But there where another mistake, too. My system doesn't like "de_DE", it
wants to have "[EMAIL PROTECTED]".
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
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
Dustin Krysak wrote:
> now what I need to do is modify the code so that the script checks 2
> URL parameters, and has 2 variables defined (from the URL parameter)...
>
> So I need to also check if $_REQUEST['year'] is set as well as the
> original (both need to be set to get the first HTML conten
5 matches
Mail list logo