title: language translation in php
body: <p>How is language translation handled in PHP? I need to change the language of a site based on user preferences. Also, I may not have access to the client source code. At most, I could upload a folder of my own and do the dynamic translation myself.</p>
  
  <p>As far as I know, the basic process would be:
  Send Language 1 output to global function -> translate -> Output to screen.</p>
  
  <p>I need someone to help me out with the specifics in PHP. </p>
  
  <p>Are there any standard implementations that I am unaware of? 
  Has anybody done such a thing and if so, how did you do it?</p>
  
  <p>Thanks.</p>