RE: [PHP] Two languages

From: Date: Mon, 30 Oct 2000 14:45:45 +0000
Subject: RE: [PHP] Two languages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22685@lists.php.net to get a copy of this message
You need to enclose the nl in "" also, a different idea might be to have two include files...en.txt for english variables and nl.txt for dutch variables. Met vriendelijke groet en succes! Justin Rodino ________________________________________ Justin Rodino <justin@goldendome.com> Web Application Developer Golden Dome Media PO Box 1616 Notre Dame, IN 46634 219.631.1116 219.674.0980 800.728.7979 219.631.1001 - fax http://www.goldendome.com/ http://www.wndu.com/ > -----Original Message----- > From: Jan van Schaijk [mailto:beethoven@hetnet.nl] > Sent: Monday, October 30, 2000 7:45 AM > To: PHP > Subject: [PHP] Two languages > > > Hi, > > I want to write a PHP file in two languages like this: > > <? if (language==en): ?> > > The english text > > <? endif; if (language==ne): ?> > > De nederlandse tekst > > <? endif; ?> > > > > Well, when I select language=en it is okay, but language=ne > doesn't work! > How is that possible? > > Jan > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.general (#22685) next »