Jump to content
for CHRISTIAN MONTOYA:If you use a server-side language, such as PHP pr ASP, you can store all the words, phrases and sentences in dedicated files, one for each language.Then the real pages simply contain the variable names.
For example, we’ve 3 files1 ‘it.php’ with the following variable: $greet=”ciao”;2 ‘fr.php’ with $greet=”salut”;3 ‘en.php’ with $greet=”hello”;
And the page index.php only contains the variable name $greet. The right lang file is loaded according to the language selected by the user.
That’s the system I use on my portal (the code is open source; you can study it and use it).I hope this helped