title: How to create Codeigniter language files from database?
body: <p>I'm building a multi-language online site with Codeigniter. 
  My question is <strong>how to pass data from database to the Codeigniter language files</strong>.
  My logic so far is to run a <code>foreach</code> query, which will populate the language file with translation_key and value. The Problem is that language files aren't some extended CI_class classes and now I don't know how to move on.</p>
  
  <p>How would you approach to that problem? Documentation doesn't say nothing about how to use language class with database.</p>