HI,
I have developed a website in PHP and MySQL in English language. Now i want to launch its Arabic version, can you please guide me what necessary steps i have to follow? should i have to make 2 databases in MySQL or can only 1 database be sufficient? What will happen in case of data insertion. do i have to enter all data in tables every 2 times?
Also do i have to make a new website for Arabic from scratch?
Any help would be welcomed. Thanks in advance.
I have an English Language PC. should i need an Arabic language PC separately?
How to Convert English website and DB in Arabic
Moderator: General Moderators
what you can do is make an english file with defines ie
you will also need 2 dbs
engilsh.php
arabic.php
then in the index.php
you will also need 2 dbs
engilsh.php
Code: Select all
define(_WELCOME, "Welcome to the site);Code: Select all
define(_WELCOME, "what ever welcome is in arabic);Code: Select all
if($lang == 'arabic')
include arabic.php;
else
english.php;
echo _WELCOME;