2010-01-08, 06:13:06
^ You can use a cookie or session to create the language variable.
Then this variable is stored as EN or CN.
Name all the pages as EN-contact, EN-about, CN-contact, CN-about, etc...
Then in the menu use the isset() to find out if the language is cookied or sessioned.
If it is then display the correct menu containing the EN's or CN's.
Seems fairly easy, but not as easy as 2 installs in the directory of en/ and cn/
Then this variable is stored as EN or CN.
Name all the pages as EN-contact, EN-about, CN-contact, CN-about, etc...
Then in the menu use the isset() to find out if the language is cookied or sessioned.
If it is then display the correct menu containing the EN's or CN's.
Seems fairly easy, but not as easy as 2 installs in the directory of en/ and cn/
Clients always want to be able to change the content of their pages, but they are unwilling to do so.
Have you ever coded in your underwear before?
Have you ever coded in your underwear before?