If you have no idea, you should probably be getting somebody else to do it who does have an idea.
But here is how it might be done;
All your content should be in a MySQL database, in which you have two copies of each table (One in each language), then simply use a variable in PHP to switch between one language or the other, depending on user preference, which can be set via a link on the website.
This way, you can also get PHP to call a different stylesheet if one of the two language requires different padding/margin values. Like Arabic which reads right to left or Chinese which is difficult to read in smaller font sizes due to the strokes being squashed.
you lot are all trying to be too clever about it!!
ofc, as an extension, i'd save a cookie to remember the user's selected language so they didnt have to choose next time, and i'd have all my content in a database and have a php $_GET variable choosing language depending on preference. but both ways work just fine
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.