title: Whats the best & fastest method to support multi language in PHP Application
body: <p>Though there are lot of similar questions already asked here, I didn't find the answer i was looking for..</p>
  
  <p>What's the best way to develop multi-language application, It should be very fast.. and i don't know how much text i will translate.</p>
  
  <p><code>Method 1: create and keep all the text in an array for every language i want to support and include that file everywhere.</code></p>
  
  <p><code>Method 2: Use gettext (.MO, .PO files)</code></p>
  
  <p><code>Method 3: Store all the translations in a text file and write a function to go through all the text and when matched display its value</code></p>
  
  <p><code>Method 4: Store all the text and its translations in database, But i don't think it will be faster than storage in Filesystem.</code></p>
  
  <p><code>Method 5: Same as method 1 but i will create multiple files per language just to keep everything structured.</code></p>
  
  <p>Though all of these will work, Which do you guys think will be the fastest method and do let me know if i missed any method.</p>