Forum Moderators: coopster
titleEnglish
titleFrench
descriptionEnglish
descriptionFrench
And so forth... which isn't too bad, however what about for the static content on all the pages? I was thinking just making it session based and every peice of content would need an if statment.... so for example....
if($_SESSION['lang'] == "english"){
?>
english content here...
<?
}
else{
?>
french content here...
<?
}
This seems like alot of work for just static content but it seems like the only way... or does anyone else have suggestions?
Thanks,
Ryan
Quite some other products chosen to make include files which are defining hundreds of constants (for each language), and then it uses these constants for displaying texts.
Whatever you choose, don't forget to check out the printf() [php.net] series of functions as they come very handy when dealing with multilingual content.