Building a multilingual site using PHP
Posted: Fri Mar 14, 2003 11:11 am
Hello,
I would lie to get some advice concerning in building multi-lingual sites dynamically using PHP
i have a website that i need to build with an english and a spanish version.
I am still novice in PHP but would like to attempt a plan that would bring up the appropriate version dependant on the users selection.
I also want to do it without doing the same thing twice if you understand what i mean.
IS there any tutorials or has anyone built a site in comparison
i want to know like
what is the best approach
what methods do i use
would this be easier with javascript?
i was thinking about using a code that switches the BASE URL from a english to a spanish folder
e.g.
BASE URL = http://www.thedomain.com/spanish
if english
echo BASE URL = http://www.thedomain.com/english
any other suggestion of how i can approach this
Kendall
I would lie to get some advice concerning in building multi-lingual sites dynamically using PHP
i have a website that i need to build with an english and a spanish version.
I am still novice in PHP but would like to attempt a plan that would bring up the appropriate version dependant on the users selection.
I also want to do it without doing the same thing twice if you understand what i mean.
IS there any tutorials or has anyone built a site in comparison
i want to know like
what is the best approach
what methods do i use
would this be easier with javascript?
i was thinking about using a code that switches the BASE URL from a english to a spanish folder
e.g.
BASE URL = http://www.thedomain.com/spanish
if english
echo BASE URL = http://www.thedomain.com/english
any other suggestion of how i can approach this
Kendall