> > 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
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
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
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
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
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]
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
7 matches
Mail list logo