I have this really tiny (static) site, that is basically just my online business card and I want to have it in English and German. I detect the browser language and also let the user chose manually; so I have the right $lang variable ready.
My question is how are the multiple languages best implemented (or loaded)? Right now I do this with PHP switch statements but I feel this is not proper at all. My next guess is to use XMLs, one for every language, then load the right one but I wonder if there is a more clean, simple and proper way to do this; meaning easy to maintain and extend, easy to understand, compliant with standards and fast.
Thanks for the help!