Re: [PHP] Multilingual website, texts in external JavaScriptproblem

2009-11-10 Thread Peter Ford
leledumbo wrote: >> I don't see why you can't use inline script in XHTML 1.0 Strict > > Because I don't know about CDATA, thanks. Glad to be of service! As another regular contributor to this list often points out, there's always something new to learn :) -- Peter Ford

Re: [PHP] Multilingual website, texts in external JavaScript problem

2009-11-09 Thread leledumbo
> I don't see why you can't use inline script in XHTML 1.0 Strict Because I don't know about CDATA, thanks. -- View this message in context: http://old.nabble.com/Multilingual-website%2C-texts-in-external-JavaScript-problem-tp26261666p26278740.html Sent from the PHP - General mailing list archi

Re: [PHP] Multilingual website, texts in external JavaScript problem

2009-11-09 Thread Phpster
On Nov 9, 2009, at 1:04 AM, leledumbo wrote: I need to create a multilingual website and my framework already gives me that facility. However, I also use JavaScript quite extensively and since XHTML 1.0 Strict doesn't allow inline script, I must use external .js file. The problem i

Re: [PHP] Multilingual website, texts in external JavaScript problem

2009-11-09 Thread Peter Ford
leledumbo wrote: > I need to create a multilingual website and my framework already gives me > that facility. However, I also use JavaScript quite extensively and since > XHTML 1.0 Strict doesn't allow inline script, I must use external .js file. > The problem is in these scripts, there are strings

Re: [PHP] Multilingual website, texts in external JavaScript problem

2009-11-09 Thread Ashley Sheridan
On Sun, 2009-11-08 at 22:04 -0800, leledumbo wrote: > I need to create a multilingual website and my framework already gives me > that facility. However, I also use JavaScript quite extensively and since > XHTML 1.0 Strict doesn't allow inline script, I must use external .js file. > The problem is

RE: [PHP] multilingual website

2004-02-05 Thread Vail, Warren
the PHPNuke (Portal software used all over the world, http://phpnuke.org/) code uses selectable including of php files containing define statements; in a directory call language (usually) there are files named lang-.php where is the name of the language; the current language selection is

Re: [PHP] multilingual website

2004-02-05 Thread John W. Holmes
From: "Shaunak Kashyap" <[EMAIL PROTECTED]> > > My inclination would be to just use the DB, have linked tables with > > languages and pieces of text in various languages. A single query could > > get a full language preference setting for a site, and a little array > > munging could turn it into a

RE: [PHP] multilingual website

2004-02-05 Thread Robert Cummings
On Thu, 2004-02-05 at 15:46, Shaunak Kashyap wrote: > > My inclination would be to just use the DB, have linked tables with > > languages and pieces of text in various languages. A single query could > > get a full language preference setting for a site, and a little array > > munging could turn it

RE: [PHP] multilingual website

2004-02-05 Thread Shaunak Kashyap
> My inclination would be to just use the DB, have linked tables with > languages and pieces of text in various languages. A single query could > get a full language preference setting for a site, and a little array > munging could turn it into a usable set of key/value pairs, where the key > is th

Re: [PHP] multilingual website

2004-02-05 Thread Michal Migurski
>i'm looking here for some help with the design of a multilingual website. >Everything in that website needs to change from a language to an other. > >I've made search on the web to find some examples but i couldn't find very >interesting things about how to manage that, using php. >What's best ? >