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.

23rd Oct 2019, 3:44 PM
Mohammad Malmir
Mohammad Malmir - avatar
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.
24th Oct 2019, 3:00 AM
Ipang
+ 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?
23rd Oct 2019, 3:52 PM
Ipang
+ 1
i mean use 2 languuage for website for example English with Spanish
23rd Oct 2019, 10:58 PM
Mohammad Malmir
Mohammad Malmir - avatar