0
how make website with 2lang
Can any body tell me how to make a dynamic multilanguage website in PHP and MySQL? I have no idea about it. I searched on Google and didn't find any good solutions.
4 Answers
+ 1
You can create two subdirectories where each of these directories contains files that forms the site.
Since you tagged PHP, you can save the web configuration (including language selection amongst others) in session. And you use that session variable to decide, from which subdirectory the content should be loaded.
There are other ways I suppose, but this is what I know, and I think separating the contents into subdirectories makes editing somewhat easier.
+ 1
By multi language here, did you mean the page contents are in multi languages (for example English or Spanish), or did you mean to develop the site using multiple programming languages?
Can you share with me about what you found in Google? and how you are understanding what you found? even as little as it may be?
+ 1
i mean use 2 languuage for website for example English with Spanish