Re: [PHP] language files

2005-04-07 Thread Ryan A
> > I was just wondering which is the best/most efficient way of having > > language > > files for a site? > > > > I can't really speak to this, as I've never gotten around to > > multi-language support, but this always looked like a winner to me: > > > > http://php.net/gettext > The thing that im

RE: [PHP] language files

2005-04-07 Thread Ryan A
Hej Kim, > Hi there > > have you ever double entered the same words? > Well, if You do that, the later is the overwriting the previous ;) Exactly what I want to avoid. That was a pretty good example of using language files...and I really liked the text in that file...funny ;-) I understand the

RE: [PHP] language files

2005-04-07 Thread Kim Madsen
Hi there > -Original Message- > From: Ryan A [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 07, 2005 5:37 AM > have you ever double entered the same words? Well, if You do that, the later is the overwriting the previous ;) > eg: > $lang['login_username']='User

Re: [PHP] language files

2005-04-06 Thread Richard Lynch
On Wed, April 6, 2005 7:52 pm, Ryan A said: > I was just wondering which is the best/most efficient way of having > language > files for a site? I can't really speak to this, as I've never gotten around to multi-language support, but this always looked like a winner to me: http://php.net/gettext

Re: [PHP] language files

2005-04-06 Thread Ryan A
Hey, Glad that you replied coz you would have had more experience with this than the average php joe being the author of a forum. Isnt your approach a lot like this one: > $get_user="Enter your username:"; > $get_pass="Enter your password:"; except that you are using arrays? have you ever doubl

Re: [PHP] language files

2005-04-06 Thread James Williams
Ryan A wrote: Hey, I was just wondering which is the best/most efficient way of having language files for a site? eg: if $lang=english then it should include lang.en.inc.php if $lang=swedish then it should include lang.se.inc.php etc One way I did it before was to have an array like so: $lang_en[0]

[PHP] language files

2005-04-06 Thread Ryan A
Hey, I was just wondering which is the best/most efficient way of having language files for a site? eg: if $lang=english then it should include lang.en.inc.php if $lang=swedish then it should include lang.se.inc.php etc One way I did it before was to have an array like so: $lang_en[0]="Enter user