Re: [PHP] Multi lingual pages

2007-02-19 Thread Otto Wyss
Jochem Maas wrote: don't go down the define('LANG_KEY', 'lang string value'); route - defines are comparatively SLOW to create. IF you go down the road of loading in text from 'per lang' files I would suggest using an array as the storage mechanism: $Lang = array( 'LANG_KEY' => 'lang st

Re: [PHP] Multi lingual pages

2007-02-19 Thread Otto Wyss
Paul Novitski wrote: Unless your site is insanely popular or huge, does the method really Sure I hope to once have an insanely popular or huge site, albeit that probably won't happen. O. Wyss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] Multi lingual pages

2007-02-10 Thread tedd
At 2:19 PM -0500 2/9/07, Robert Cummings wrote: > Yes, of course. Maintaining such a site without rewriting urls would be a nightmare. When I said that those sites are "redirecting" users, I was thinking about response headers. Why do you need to rewrite URLs? Cheers, Rob. Forgive me,

Re: [PHP] Multi lingual pages

2007-02-09 Thread Robert Cummings
; À : Robert Cummings > >> Cc : PHP List; Jochem Maas; Otto Wyss > >> Objet : Re: [PHP] Multi lingual pages > >> > >> Thank you Robert. > >> > >> Actually, I am not so sure anymore if my idea of "binding" > >> localized conten

Re: [PHP] Multi lingual pages

2007-02-09 Thread Frank Arensmeier
9 feb 2007 kl. 15.38 skrev Tim: -Message d'origine- De : Frank Arensmeier [mailto:[EMAIL PROTECTED] Envoyé : vendredi 9 février 2007 14:51 À : Robert Cummings Cc : PHP List; Jochem Maas; Otto Wyss Objet : Re: [PHP] Multi lingual pages Thank you Robert. Actually, I am not so

RE: [PHP] Multi lingual pages

2007-02-09 Thread Tim
> -Message d'origine- > De : Frank Arensmeier [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 9 février 2007 14:51 > À : Robert Cummings > Cc : PHP List; Jochem Maas; Otto Wyss > Objet : Re: [PHP] Multi lingual pages > > Thank you Robert. > > Actua

Re: [PHP] Multi lingual pages

2007-02-09 Thread Frank Arensmeier
Thank you Robert. Actually, I am not so sure anymore if my idea of "binding" localized content to domains is the right path to go. After a litte research, I saw that many of the major sites out there are redirecting the user to subfolders. Maybe this is the right thing to do. What would hap

Re: [PHP] Multi lingual pages

2007-02-09 Thread Robert Cummings
On Fri, 2007-02-09 at 07:23 -0500, Robert Cummings wrote: > On Fri, 2007-02-09 at 09:03 +0100, Frank Arensmeier wrote: > > Anyone? > > If you use top level domains like that then if someone wants to swith Oh no, I've developed a lithp :) Cheers, Rob. -- .

Re: [PHP] Multi lingual pages

2007-02-09 Thread Robert Cummings
On Fri, 2007-02-09 at 09:03 +0100, Frank Arensmeier wrote: > Anyone? If you use top level domains like that then if someone wants to swith between languages you won't be able to share session information without employing session propogation tricks. Cheers, Rob. > > //frank > 8 feb 2007 kl. 11.

Re: [PHP] Multi lingual pages

2007-02-09 Thread Frank Arensmeier
Thank you Paul for your comments - very valuable! //frank 9 feb 2007 kl. 10.08 skrev Paul Novitski: 8 feb 2007 kl. 11.24 skrev Frank Arensmeier: I would like to hook up on this issue a little bit more. I am wondering if anybody is willing to share some good advices regarding how to implemen

Re: [PHP] Multi lingual pages

2007-02-09 Thread Paul Novitski
8 feb 2007 kl. 11.24 skrev Frank Arensmeier: I would like to hook up on this issue a little bit more. I am wondering if anybody is willing to share some good advices regarding how to implement a good (normative) url structure so to say when it comes to multi lingual sites. Let me give you an e

Re: [PHP] Multi lingual pages

2007-02-09 Thread Frank Arensmeier
Anyone? //frank 8 feb 2007 kl. 11.24 skrev Frank Arensmeier: Hello. I would like to hook up on this issue a little bit more. I am wondering if anybody is willing to share some good advices regarding how to implement a good (normative) url structure so to say when it comes to multi lingua

Re: [PHP] Multi lingual pages

2007-02-08 Thread Frank Arensmeier
Hello. I would like to hook up on this issue a little bit more. I am wondering if anybody is willing to share some good advices regarding how to implement a good (normative) url structure so to say when it comes to multi lingual sites. Let me give you an example. IBM has many different do

Re: [PHP] Multi lingual pages

2007-01-26 Thread Jochem Maas
Otto Wyss wrote: > Paul Novitski wrote: > > I formulated my question in general since I couldn't find an other > message here about supporting multiple languages. > >> http://www.w3.org/International/articles/ >> >> http://www.w3.org/TR/i18n-html-tech-lang/ >> >> http://php.net/setlocale >> > Tha

Re: [PHP] Multi lingual pages

2007-01-26 Thread Paul Novitski
At 1/26/2007 12:25 PM, Otto Wyss wrote: Paul Novitski wrote: In both cases I store the text in database tables that contain a language field I can select on to match the user's request. I wonder if retrieving static texts from the database draws too much performance. I know from somebody who

Re: [PHP] Multi lingual pages

2007-01-26 Thread Robert Cummings
On Fri, 2007-01-26 at 21:25 +0100, Otto Wyss wrote: > Paul Novitski wrote: > > I formulated my question in general since I couldn't find an other > message here about supporting multiple languages. > > > http://www.w3.org/International/articles/ > > > > http://www.w3.org/TR/i18n-html-tech-lang/

Re: [PHP] Multi lingual pages

2007-01-26 Thread Otto Wyss
Paul Novitski wrote: I formulated my question in general since I couldn't find an other message here about supporting multiple languages. http://www.w3.org/International/articles/ http://www.w3.org/TR/i18n-html-tech-lang/ http://php.net/setlocale Thanks a lot, these are good points for re

Re: [PHP] Multi lingual pages

2007-01-25 Thread Satyam
I wrote something about this, but it is in Spanish: http://www.satyam.com.ar/blog/2007/01/17/internacionalizacion-y-localizacion-indice/ Satyam - Original Message - From: "Otto Wyss" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 24, 2007 10:44 PM Subject: [PH

RE: [PHP] Multi lingual pages

2007-01-24 Thread Ligaya A. Turmelle
: Thursday, January 25, 2007 7:44 AM To: php-general@lists.php.net Subject: [PHP] Multi lingual pages I'd like to make my pages multi lingual, showing everything in the language the user chooses. My pages show mostly static text. So what's the usual implementation for this case. O. Wyss -- P

Re: [PHP] Multi lingual pages

2007-01-24 Thread Paul Novitski
At 1/24/2007 01:44 PM, Otto Wyss wrote: I'd like to make my pages multi lingual, showing everything in the language the user chooses. My pages show mostly static text. So what's the usual implementation for this case. This is a vast subject that deserves general study. I recommend that you

[PHP] Multi lingual pages

2007-01-24 Thread Otto Wyss
I'd like to make my pages multi lingual, showing everything in the language the user chooses. My pages show mostly static text. So what's the usual implementation for this case. O. Wyss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php