[Ilugc] how to create tamil website using PHP

  • From: vichu@xxxxxxxxxxx (vichu (hathway))
  • Date: Tue, 16 Mar 2004 21:00:55 +0530

Unicode, Postgres + php will work great for you.

My idea would be something like this.

You have all your constants in a separate file. (eg: constants_tamil.php,
constants_hindi.php....)
the file could be like ..

/*-------------constants_tamil.php---------------------*/
define ("SOME_VAR_NAME","enter_your_tamil_text_here_in_unicode");
/*-----------php code ends here---------------------*/

/*-------------constants_hindi.php---------------------*/
define ("SOME_VAR_NAME","enter_your_hindi_text_here_in_unicode");
/*-----------php code ends here---------------------*/

/*-------------constants_french.php---------------------*/
define ("SOME_VAR_NAME","enter_your_french_text_here_in_unicode");
/*-----------php code ends here---------------------*/

just keep changing the include file according to the language preference.
And I'm sure you know you have to use "SOME_VAR_NAME" in the user side
phps..

-ramki

----- Original Message -----
From: "balachandar" <mbchandar@xxxxxxxxxxxx>
To: "chennailug" <ilugc@xxxxxxxxxxxxxxxxxx>
Sent: Saturday, March 20, 2004 2:22 PM
Subject: [Ilugc] how to create tamil website using PHP


dear friends,

i want to develop a multilingual website which consists of english, Tamil,
Hindi.

how do i create using PHP????

balachandar.m


Other related posts: