Hi,
I would like to find some more info on using other languages in an existing PHP/MySQL apllication.
How would i implement: Russian, polish, greek, turkish, korean, japanese, etc...
Can you point me in the right direction?
Kind regards, Gerry.
I'd try using language templates.
Example:
page.php
<? include("lng_page_$lang.php"); echo "$title\n"; echo "<br><br>$text1\n"; echo "<p>$last_text"; ?>
lng_page_ca.php
<? $title = "TÃtol"; $text1 = "Avui fa bon dia"; $last_text = "Adeu!"; ?>
lng_page_en.php
<? $title = "Title"; $text1 = "We're having a nice day"; $last_text = "Bye!"; ?>
You just need to declare a default $lang and prepare links for other available $lang identifiers.