I was just looking through the mailing list archives for some help
with my gettext problem (basically, I can't get it to work).
Anyway, I came across your post:
> Thanks for the reply. This will not solve my problem. The problem is,
for some
> languages the sentence structure may be different.
On 14-Mar-01 Tao wrote:
> Kevin,
>
> Thanks for the reply. This will not solve my problem. The problem is, for
> some
> languages the sentence structure may be different. For example, the
> sentence
> may need to be,
> $greeting = "$first_name, welcome!"
> as opposed to,
> $greeting =
Check http://stphp.sourceforge.net
Maciek
> -Original Message-
> From: Tao [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 14, 2001 8:14 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP] software localization with PHP
>
>
> Kevin,
>
> Thanks for the reply. This will not
On Wednesday 14 March 2001 05:50, you wrote:
> I have a question about localizing PHP scripts. I understand that for
> basic localization one can have a "strings" file for each language,
> which contains string variables and values such as:
> $title = "Welcome!";
> $error =
You can use constants:
in your language file
define("HELLO", OLA);
in your script which includes the language file you can write
$greeting = HELLO . " $first_name";
print $greeting;
Kevin Leavell
[EMAIL PROTECTED]
P 406.829.8989
C 406.240.4595
---> -Original Message-
---> From: Tao
5 matches
Mail list logo